catchup-library-web 1.4.13 → 1.4.15

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/index.js CHANGED
@@ -68,6 +68,7 @@ var __async = (__this, __arguments, generator) => {
68
68
  var index_exports = {};
69
69
  __export(index_exports, {
70
70
  ActivityBodyContent: () => ActivityBodyContent_default,
71
+ ActivityEmptyContent: () => ActivityEmptyContent_default,
71
72
  ActivityLabel: () => ActivityLabel_default,
72
73
  ActivityPreviewByData: () => ActivityPreviewByData_default,
73
74
  ActivitySolutionContent: () => ActivitySolutionContent_default,
@@ -990,6 +991,13 @@ var BaseModal = ({
990
991
  };
991
992
  var BaseModal_default = BaseModal;
992
993
 
994
+ // src/components/activities/empty-content/ActivityEmptyContent.tsx
995
+ var import_jsx_runtime11 = require("react/jsx-runtime");
996
+ var ActivityEmptyContent = () => {
997
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex flex-col items-center justify-center border-2 border-catchup-orange rounded-catchup-xlarge px-5 py-2 my-5 bg-catchup-orange", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-catchup-white text-xl", children: i18n_default.t("you_have_set_this_activity_as_empty") }) }) });
998
+ };
999
+ var ActivityEmptyContent_default = ActivityEmptyContent;
1000
+
993
1001
  // src/components/activities/body-content/ShowBodyMediaByContentType.tsx
994
1002
  var import_react9 = require("react");
995
1003
  var import_react_modal2 = __toESM(require("react-modal"));
@@ -3055,7 +3063,7 @@ var constructActivityItemListSolutionOnly = (solutionMap) => {
3055
3063
 
3056
3064
  // src/components/activities/body-content/ShowBodyMediaByContentType.tsx
3057
3065
  var import_react_katex = require("react-katex");
3058
- var import_jsx_runtime11 = require("react/jsx-runtime");
3066
+ var import_jsx_runtime12 = require("react/jsx-runtime");
3059
3067
  var ShowBodyMediaByContentType = ({
3060
3068
  index,
3061
3069
  type,
@@ -3097,16 +3105,16 @@ var ShowBodyMediaByContentType = ({
3097
3105
  addition += 1;
3098
3106
  }
3099
3107
  valuePartList.push(
3100
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3108
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3101
3109
  "span",
3102
3110
  {
3103
3111
  className: "text-xl whitespace-pre-wrap",
3104
3112
  children: constructInputWithSpecialExpressionList(textValue).map(
3105
- (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3113
+ (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3106
3114
  "span",
3107
3115
  {
3108
3116
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
3109
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_katex.InlineMath, { math: inputPart.value }) }) : inputPart.value
3117
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_katex.InlineMath, { math: inputPart.value }) }) : inputPart.value
3110
3118
  },
3111
3119
  index2
3112
3120
  )
@@ -3120,17 +3128,17 @@ var ShowBodyMediaByContentType = ({
3120
3128
  const secondIndex = subValue.indexOf(checkText) + checkText.length + textValue.length - addition;
3121
3129
  currentIndex++;
3122
3130
  valuePartList.push(
3123
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3131
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3124
3132
  "span",
3125
3133
  {
3126
3134
  className: `text-xl font-bold whitespace-pre-wrap`,
3127
3135
  children: constructInputWithSpecialExpressionList(
3128
3136
  copyValue.substring(firstIndex + checkText.length, secondIndex)
3129
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3137
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3130
3138
  "span",
3131
3139
  {
3132
3140
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
3133
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_katex.InlineMath, { math: inputPart.value }) }) : inputPart.value
3141
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_katex.InlineMath, { math: inputPart.value }) }) : inputPart.value
3134
3142
  },
3135
3143
  index2
3136
3144
  ))
@@ -3150,7 +3158,7 @@ var ShowBodyMediaByContentType = ({
3150
3158
  if (textValue.trim() !== "") {
3151
3159
  currentIndex++;
3152
3160
  valuePartList.push(
3153
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xl", children: textValue }, `${index}_${currentIndex}`)
3161
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "text-xl", children: textValue }, `${index}_${currentIndex}`)
3154
3162
  );
3155
3163
  }
3156
3164
  const subValue = copyValue.substring(firstIndex + checkText.length);
@@ -3161,8 +3169,8 @@ var ShowBodyMediaByContentType = ({
3161
3169
  );
3162
3170
  currentIndex++;
3163
3171
  valuePartList.push(
3164
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "relative w-[200px]", children: [
3165
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3172
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "relative w-[200px]", children: [
3173
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3166
3174
  BaseImage_default,
3167
3175
  {
3168
3176
  src: imageSource,
@@ -3171,7 +3179,7 @@ var ShowBodyMediaByContentType = ({
3171
3179
  className: "rounded-catchup-xlarge"
3172
3180
  }
3173
3181
  ),
3174
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3182
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3175
3183
  "div",
3176
3184
  {
3177
3185
  className: "absolute flex items-center justify-center top-2 right-2 h-6 w-6 cursor-pointer border rounded-catchup-xlarge border-catchup-blue p-1",
@@ -3179,7 +3187,7 @@ var ShowBodyMediaByContentType = ({
3179
3187
  setShowFullScreen(true);
3180
3188
  setSelectedFullScreenItem(imageSource);
3181
3189
  },
3182
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3190
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3183
3191
  BaseImage_default,
3184
3192
  {
3185
3193
  src: "/icons/arrow-up.webp",
@@ -3201,7 +3209,7 @@ var ShowBodyMediaByContentType = ({
3201
3209
  if (textValue.trim() !== "") {
3202
3210
  currentIndex++;
3203
3211
  valuePartList.push(
3204
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xl", children: textValue }, `${index}-${currentIndex}`)
3212
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "text-xl", children: textValue }, `${index}-${currentIndex}`)
3205
3213
  );
3206
3214
  }
3207
3215
  const subValue = copyValue.substring(firstIndex + checkText.length);
@@ -3212,7 +3220,7 @@ var ShowBodyMediaByContentType = ({
3212
3220
  );
3213
3221
  currentIndex++;
3214
3222
  valuePartList.push(
3215
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3223
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3216
3224
  "video",
3217
3225
  {
3218
3226
  src: videoSource,
@@ -3230,7 +3238,7 @@ var ShowBodyMediaByContentType = ({
3230
3238
  if (textValue.trim() !== "") {
3231
3239
  currentIndex++;
3232
3240
  valuePartList.push(
3233
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xl", children: textValue }, `${index}-${currentIndex}`)
3241
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "text-xl", children: textValue }, `${index}-${currentIndex}`)
3234
3242
  );
3235
3243
  }
3236
3244
  const subValue = copyValue.substring(firstIndex + checkText.length);
@@ -3241,7 +3249,7 @@ var ShowBodyMediaByContentType = ({
3241
3249
  );
3242
3250
  currentIndex++;
3243
3251
  valuePartList.push(
3244
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3252
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3245
3253
  "audio",
3246
3254
  {
3247
3255
  src: audioSource,
@@ -3267,9 +3275,9 @@ var ShowBodyMediaByContentType = ({
3267
3275
  if (regexMatchImageText) {
3268
3276
  const imageText = regexMatchImageText[1];
3269
3277
  valuePartList.push(
3270
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "bg-catchup-gray-50 relative px-4 py-4 rounded-catchup-small mt-2", children: [
3271
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute -top-3 bg-catchup-white border rounded-catchup-small px-2 left-2", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "font-bold", children: i18n_default.t("image_description") }) }),
3272
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3278
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "bg-catchup-gray-50 relative px-4 py-4 rounded-catchup-small mt-2", children: [
3279
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute -top-3 bg-catchup-white border rounded-catchup-small px-2 left-2", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "font-bold", children: i18n_default.t("image_description") }) }),
3280
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3273
3281
  "span",
3274
3282
  {
3275
3283
  className: "text-xl whitespace-pre-wrap ",
@@ -3281,16 +3289,16 @@ var ShowBodyMediaByContentType = ({
3281
3289
  );
3282
3290
  } else {
3283
3291
  valuePartList.push(
3284
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3292
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3285
3293
  "span",
3286
3294
  {
3287
3295
  className: "text-xl whitespace-pre-wrap",
3288
3296
  children: constructInputWithSpecialExpressionList(copyValue).map(
3289
- (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3297
+ (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3290
3298
  "span",
3291
3299
  {
3292
3300
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
3293
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_katex.InlineMath, { math: inputPart.value }) }) : inputPart.value
3301
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_katex.InlineMath, { math: inputPart.value }) }) : inputPart.value
3294
3302
  },
3295
3303
  index2
3296
3304
  )
@@ -3304,7 +3312,7 @@ var ShowBodyMediaByContentType = ({
3304
3312
  return valuePartList;
3305
3313
  };
3306
3314
  const RenderShowFullScreenItem = () => {
3307
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3315
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3308
3316
  import_react_modal2.default,
3309
3317
  {
3310
3318
  isOpen: showFullScreen,
@@ -3335,8 +3343,8 @@ var ShowBodyMediaByContentType = ({
3335
3343
  }
3336
3344
  },
3337
3345
  contentLabel: "",
3338
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex-1 flex flex-col", children: [
3339
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3346
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex-1 flex flex-col", children: [
3347
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3340
3348
  BaseImage_default,
3341
3349
  {
3342
3350
  src: "/icons/cross-red.webp",
@@ -3348,7 +3356,7 @@ var ShowBodyMediaByContentType = ({
3348
3356
  }
3349
3357
  }
3350
3358
  ) }),
3351
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex items-center justify-center h-[500]", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3359
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "flex items-center justify-center h-[500]", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3352
3360
  BaseImage_default,
3353
3361
  {
3354
3362
  src: selectedFullScreenItem,
@@ -3363,14 +3371,14 @@ var ShowBodyMediaByContentType = ({
3363
3371
  };
3364
3372
  const RenderMainContent = () => {
3365
3373
  if (type === "TEXT") {
3366
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mb-3 flex flex-row flex-wrap items-center mx-auto w-full", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: retrieveValueParts(value) }) });
3374
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mb-3 flex flex-row flex-wrap items-center mx-auto w-full", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: retrieveValueParts(value) }) });
3367
3375
  } else if (type === "IMAGE") {
3368
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mb-3 flex flex-col items-center relative", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3376
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mb-3 flex flex-col items-center relative", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
3369
3377
  "div",
3370
3378
  {
3371
3379
  className: `${size ? `${convertToPercentage(size)}` : ""} rounded-catchup-xlarge relative`,
3372
3380
  children: [
3373
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3381
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3374
3382
  BaseImage_default,
3375
3383
  {
3376
3384
  src: value,
@@ -3379,7 +3387,7 @@ var ShowBodyMediaByContentType = ({
3379
3387
  className: "w-full rounded-catchup-xlarge"
3380
3388
  }
3381
3389
  ),
3382
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3390
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3383
3391
  "div",
3384
3392
  {
3385
3393
  className: "absolute flex items-center justify-center top-2 right-2 h-6 w-6 cursor-pointer border rounded-catchup-xlarge border-catchup-blue p-1",
@@ -3387,7 +3395,7 @@ var ShowBodyMediaByContentType = ({
3387
3395
  setShowFullScreen(true);
3388
3396
  setSelectedFullScreenItem(value);
3389
3397
  },
3390
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3398
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3391
3399
  BaseImage_default,
3392
3400
  {
3393
3401
  src: "/icons/arrow-up.webp",
@@ -3402,7 +3410,7 @@ var ShowBodyMediaByContentType = ({
3402
3410
  }
3403
3411
  ) });
3404
3412
  } else if (type === "VIDEO") {
3405
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3413
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3406
3414
  "video",
3407
3415
  {
3408
3416
  src: value,
@@ -3411,10 +3419,10 @@ var ShowBodyMediaByContentType = ({
3411
3419
  }
3412
3420
  ) });
3413
3421
  } else if (type === "AUDIO") {
3414
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("audio", { src: value, controls: true, className: `rounded-catchup-xlarge` }) });
3422
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("audio", { src: value, controls: true, className: `rounded-catchup-xlarge` }) });
3415
3423
  }
3416
3424
  };
3417
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "w-full", children: [
3425
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "w-full", children: [
3418
3426
  RenderShowFullScreenItem(),
3419
3427
  RenderMainContent()
3420
3428
  ] }, index);
@@ -3422,7 +3430,7 @@ var ShowBodyMediaByContentType = ({
3422
3430
  var ShowBodyMediaByContentType_default = ShowBodyMediaByContentType;
3423
3431
 
3424
3432
  // src/components/activities/body-content/ActivityBodyContent.tsx
3425
- var import_jsx_runtime12 = require("react/jsx-runtime");
3433
+ var import_jsx_runtime13 = require("react/jsx-runtime");
3426
3434
  var ActivityBodyContent = ({
3427
3435
  templateType,
3428
3436
  bodyMap,
@@ -3430,7 +3438,7 @@ var ActivityBodyContent = ({
3430
3438
  answerMap
3431
3439
  }) => {
3432
3440
  let currentQQIndex = 0;
3433
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "flex flex-col justify-center items-center", children: Object.keys(bodyMap).map((key, index) => {
3441
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex flex-col justify-center items-center", children: Object.keys(bodyMap).map((key, index) => {
3434
3442
  const body = JSON.parse(bodyMap[key]);
3435
3443
  if (templateType === "DROPDOWN") {
3436
3444
  while (body.value.includes("@@")) {
@@ -3507,7 +3515,7 @@ var ActivityBodyContent = ({
3507
3515
  currentQQIndex++;
3508
3516
  }
3509
3517
  }
3510
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3518
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3511
3519
  ShowBodyMediaByContentType_default,
3512
3520
  {
3513
3521
  index,
@@ -3521,16 +3529,16 @@ var ActivityBodyContent = ({
3521
3529
  var ActivityBodyContent_default = ActivityBodyContent;
3522
3530
 
3523
3531
  // src/components/dividers/DividerLine.tsx
3524
- var import_jsx_runtime13 = require("react/jsx-runtime");
3532
+ var import_jsx_runtime14 = require("react/jsx-runtime");
3525
3533
  var DividerLine = () => {
3526
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "bg-catchup-gray-50 h-[1px] w-full my-3" });
3534
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "bg-catchup-gray-50 h-[1px] w-full my-3" });
3527
3535
  };
3528
3536
  var DividerLine_default = DividerLine;
3529
3537
 
3530
3538
  // src/components/dividers/VerticalDividerLine.tsx
3531
- var import_jsx_runtime14 = require("react/jsx-runtime");
3539
+ var import_jsx_runtime15 = require("react/jsx-runtime");
3532
3540
  var VerticalDividerLine = () => {
3533
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "bg-catchup-gray-50 h-full w-[1px] mx-3" });
3541
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "bg-catchup-gray-50 h-full w-[1px] mx-3" });
3534
3542
  };
3535
3543
  var VerticalDividerLine_default = VerticalDividerLine;
3536
3544
 
@@ -3540,7 +3548,7 @@ var import_react_katex2 = require("react-katex");
3540
3548
  // src/components/groups/InputGroup.tsx
3541
3549
  var import_react_select = __toESM(require("react-select"));
3542
3550
  var import_react10 = require("react");
3543
- var import_jsx_runtime15 = require("react/jsx-runtime");
3551
+ var import_jsx_runtime16 = require("react/jsx-runtime");
3544
3552
  var InputGroup = ({
3545
3553
  type,
3546
3554
  title,
@@ -3598,13 +3606,13 @@ var InputGroup = ({
3598
3606
  }
3599
3607
  };
3600
3608
  const CheckboxInputGroup = () => {
3601
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
3609
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3602
3610
  "div",
3603
3611
  {
3604
3612
  className: "flex flex-row items-center gap-x-1 cursor-pointer",
3605
3613
  onClick,
3606
3614
  children: [
3607
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3615
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3608
3616
  BaseImage_default,
3609
3617
  {
3610
3618
  src: value ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -3614,15 +3622,15 @@ var InputGroup = ({
3614
3622
  }
3615
3623
  }
3616
3624
  ),
3617
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "", children: title })
3625
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "", children: title })
3618
3626
  ]
3619
3627
  }
3620
3628
  );
3621
3629
  };
3622
3630
  const FileInputGroup = () => {
3623
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "my-1", children: [
3624
- title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3625
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3631
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "my-1", children: [
3632
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3633
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3626
3634
  "input",
3627
3635
  {
3628
3636
  className: "w-full py-2 px-4 border border-catchup-gray-100 placeholder-catchup-gray-200 rounded-catchup-large text-black focus:outline-none focus:border-catchup-blue-400 focus:shadow-input",
@@ -3639,9 +3647,9 @@ var InputGroup = ({
3639
3647
  ] });
3640
3648
  };
3641
3649
  const DateInputGroup = () => {
3642
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "my-1", children: [
3643
- title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3644
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3650
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "my-1", children: [
3651
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3652
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3645
3653
  "input",
3646
3654
  {
3647
3655
  className: `w-full py-2 px-4 border ${errorText ? "border-catchup-red shadow-error" : theme === "red" ? "border-catchup-red bg-catchup-red text-catchup-white focus:border-catchup-red" : "border-catchup-gray-100 placeholder-catchup-gray-200 focus:border-catchup-blue-400"} rounded-catchup-large text-black focus:outline-none focus:shadow-input`,
@@ -3656,9 +3664,9 @@ var InputGroup = ({
3656
3664
  ] });
3657
3665
  };
3658
3666
  const SearchableSelectInputGroup = () => {
3659
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "my-1", children: [
3660
- title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400 ", children: title }) : null,
3661
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3667
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "my-1", children: [
3668
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400 ", children: title }) : null,
3669
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3662
3670
  import_react_select.default,
3663
3671
  {
3664
3672
  options: convertOptionListToSelectComponent(
@@ -3721,16 +3729,16 @@ var InputGroup = ({
3721
3729
  ] });
3722
3730
  };
3723
3731
  const TextAreaInputGroup = () => {
3724
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "my-1 flex-1 flex flex-col relative", children: [
3725
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex flex-row justify-between items-center", children: [
3726
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { children: title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null }),
3727
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { children: value && limit ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("p", { className: "text-md font-semibold pr-2 py-1 text-catchup-gray-400", children: [
3732
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "my-1 flex-1 flex flex-col relative", children: [
3733
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex flex-row justify-between items-center", children: [
3734
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { children: title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null }),
3735
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { children: value && limit ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { className: "text-md font-semibold pr-2 py-1 text-catchup-gray-400", children: [
3728
3736
  value.length,
3729
3737
  " / ",
3730
3738
  limit
3731
3739
  ] }) : null })
3732
3740
  ] }),
3733
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3741
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3734
3742
  "textarea",
3735
3743
  {
3736
3744
  ref: textAreaRef,
@@ -3749,9 +3757,9 @@ var InputGroup = ({
3749
3757
  ] });
3750
3758
  };
3751
3759
  const TextInputGroup = () => {
3752
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "my-1 relative", children: [
3753
- title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3754
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3760
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "my-1 relative", children: [
3761
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3762
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3755
3763
  "input",
3756
3764
  {
3757
3765
  disabled,
@@ -3891,10 +3899,10 @@ var getColorByIndex = (index) => {
3891
3899
 
3892
3900
  // src/components/dropdowns/MediaDropdown.tsx
3893
3901
  var import_react11 = require("react");
3894
- var import_jsx_runtime16 = require("react/jsx-runtime");
3902
+ var import_jsx_runtime17 = require("react/jsx-runtime");
3895
3903
  var MediaDropdown = ({ id, answer, optionList }) => {
3896
3904
  const [showDropdown, setShowDropdown] = (0, import_react11.useState)(false);
3897
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3905
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3898
3906
  "div",
3899
3907
  {
3900
3908
  className: "w-full relative",
@@ -3905,17 +3913,17 @@ var MediaDropdown = ({ id, answer, optionList }) => {
3905
3913
  setShowDropdown(false);
3906
3914
  },
3907
3915
  children: [
3908
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-full flex flex-col items-center justify-center", children: answer }),
3909
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3916
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "w-full flex flex-col items-center justify-center", children: answer }),
3917
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3910
3918
  "ul",
3911
3919
  {
3912
3920
  className: `absolute ${showDropdown ? "opacity-100 visible" : "opacity-0 invisible"} flex flex-col items-center w-[300px] rounded-catchup-xlarge border-3 transition-all duration-300 border-catchup-blue bg-catchup-white px-4 py-4 translate-x-1/2 right-1/2 mt-2 z-10`,
3913
- children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3921
+ children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
3914
3922
  "li",
3915
3923
  {
3916
3924
  className: `${option.listItemClassNames ? option.listItemClassNames : ""}`,
3917
3925
  children: [
3918
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3926
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3919
3927
  "div",
3920
3928
  {
3921
3929
  className: `w-full flex flex-col my-2 ${option.divClassNames ? option.divClassNames : ""}`,
@@ -3923,7 +3931,7 @@ var MediaDropdown = ({ id, answer, optionList }) => {
3923
3931
  children: option.media
3924
3932
  }
3925
3933
  ),
3926
- index !== optionList.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-full border my-1 border-catchup-light-blue rounded-catchup-full" }) : null
3934
+ index !== optionList.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "w-full border my-1 border-catchup-light-blue rounded-catchup-full" }) : null
3927
3935
  ]
3928
3936
  },
3929
3937
  option.id
@@ -3940,7 +3948,7 @@ var MediaDropdown_default = MediaDropdown;
3940
3948
  // src/components/activities/material-content/ShowMaterialMediaByContentType.tsx
3941
3949
  var import_react12 = require("react");
3942
3950
  var import_react_modal3 = __toESM(require("react-modal"));
3943
- var import_jsx_runtime17 = require("react/jsx-runtime");
3951
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3944
3952
  var ShowMaterialMediaByContentType = ({
3945
3953
  key,
3946
3954
  contentType,
@@ -3968,7 +3976,7 @@ var ShowMaterialMediaByContentType = ({
3968
3976
  }
3969
3977
  }, [isLoaded, key]);
3970
3978
  const RenderShowFullScreenItem = () => {
3971
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3979
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3972
3980
  import_react_modal3.default,
3973
3981
  {
3974
3982
  isOpen: showFullScreen,
@@ -3999,8 +4007,8 @@ var ShowMaterialMediaByContentType = ({
3999
4007
  }
4000
4008
  },
4001
4009
  contentLabel: "",
4002
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex-1 flex flex-col", children: [
4003
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4010
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex-1 flex flex-col", children: [
4011
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4004
4012
  BaseImage_default,
4005
4013
  {
4006
4014
  src: "/icons/cross-red.webp",
@@ -4012,7 +4020,7 @@ var ShowMaterialMediaByContentType = ({
4012
4020
  }
4013
4021
  }
4014
4022
  ) }),
4015
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "flex items-center justify-center h-[500px]", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4023
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex items-center justify-center h-[500px]", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4016
4024
  BaseImage_default,
4017
4025
  {
4018
4026
  src: selectedFullScreenItem,
@@ -4025,14 +4033,14 @@ var ShowMaterialMediaByContentType = ({
4025
4033
  }
4026
4034
  );
4027
4035
  };
4028
- return contentType === "IMAGE" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { children: [
4036
+ return contentType === "IMAGE" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { children: [
4029
4037
  RenderShowFullScreenItem(),
4030
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
4038
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
4031
4039
  "div",
4032
4040
  {
4033
4041
  className: `${isFullHeight ? "h-catchup-activity-box-item" : "max-w-catchup-activity-box-item"} flex flex-col justify-center items-center relative`,
4034
4042
  children: [
4035
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4043
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4036
4044
  BaseImage_default,
4037
4045
  {
4038
4046
  src,
@@ -4045,7 +4053,7 @@ var ShowMaterialMediaByContentType = ({
4045
4053
  }
4046
4054
  }
4047
4055
  ),
4048
- src !== null && src !== "" && src !== "DEFAULT_OPTION" && canFullScreen ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4056
+ src !== null && src !== "" && src !== "DEFAULT_OPTION" && canFullScreen ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4049
4057
  "div",
4050
4058
  {
4051
4059
  className: "absolute flex items-center justify-center top-2 right-2 h-6 w-6 cursor-pointer border rounded-catchup-xlarge border-catchup-blue p-1",
@@ -4057,7 +4065,7 @@ var ShowMaterialMediaByContentType = ({
4057
4065
  setShowFullScreen(true);
4058
4066
  setSelectedFullScreenItem(src);
4059
4067
  },
4060
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4068
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4061
4069
  BaseImage_default,
4062
4070
  {
4063
4071
  src: "/icons/arrow-up.webp",
@@ -4071,7 +4079,7 @@ var ShowMaterialMediaByContentType = ({
4071
4079
  ]
4072
4080
  }
4073
4081
  ) }) })
4074
- ] }, key) : contentType === "VIDEO" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4082
+ ] }, key) : contentType === "VIDEO" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4075
4083
  "video",
4076
4084
  {
4077
4085
  className: "h-catchup-activity-box-item rounded-catchup-xlarge",
@@ -4080,7 +4088,7 @@ var ShowMaterialMediaByContentType = ({
4080
4088
  onClick: () => {
4081
4089
  }
4082
4090
  }
4083
- ) }) }) }) : contentType === "AUDIO" ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4091
+ ) }) }) }) : contentType === "AUDIO" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4084
4092
  "audio",
4085
4093
  {
4086
4094
  className: "h-catchup-activity-box-item rounded-catchup-xlarge",
@@ -4094,7 +4102,7 @@ var ShowMaterialMediaByContentType = ({
4094
4102
  var ShowMaterialMediaByContentType_default = ShowMaterialMediaByContentType;
4095
4103
 
4096
4104
  // src/components/activities/material-content/DropdownActivityMaterialContent.tsx
4097
- var import_jsx_runtime18 = require("react/jsx-runtime");
4105
+ var import_jsx_runtime19 = require("react/jsx-runtime");
4098
4106
  var DropdownActivityMaterialContent = ({
4099
4107
  uniqueValue,
4100
4108
  answer,
@@ -4136,22 +4144,22 @@ var DropdownActivityMaterialContent = ({
4136
4144
  return "INCORRECT";
4137
4145
  };
4138
4146
  const answerMap = retrieveAnswerMap();
4139
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-row flex-wrap items-center", children: [
4140
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_dropdown_text") }) }),
4141
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DividerLine_default, {}) }),
4142
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4147
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex flex-row flex-wrap items-center", children: [
4148
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_dropdown_text") }) }),
4149
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DividerLine_default, {}) }),
4150
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4143
4151
  const answerKey = Object.keys(materialMap[materialKey])[0];
4144
4152
  const learnerAnswerState = checkAnswerState(
4145
4153
  answerKey,
4146
4154
  answerMap[materialKey]
4147
4155
  );
4148
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4149
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "my-auto", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("p", { className: "text-xl", children: [
4156
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4157
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "my-auto", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("p", { className: "text-xl", children: [
4150
4158
  parseFloat(materialKey) + 1,
4151
4159
  "."
4152
4160
  ] }) }),
4153
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "w-full relative", children: [
4154
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4161
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "w-full relative", children: [
4162
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4155
4163
  InputGroup_default,
4156
4164
  {
4157
4165
  type: "select",
@@ -4159,13 +4167,13 @@ var DropdownActivityMaterialContent = ({
4159
4167
  optionList: shuffleArray(
4160
4168
  materialMap[materialKey][answerKey]
4161
4169
  ).map((materialOption) => ({
4162
- text: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4170
+ text: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4163
4171
  materialOption
4164
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4172
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4165
4173
  "span",
4166
4174
  {
4167
4175
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4168
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4176
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4169
4177
  import_react_katex2.InlineMath,
4170
4178
  {
4171
4179
  math: inputPart.value
@@ -4180,11 +4188,11 @@ var DropdownActivityMaterialContent = ({
4180
4188
  onChange(answer, materialKey, e.target.value);
4181
4189
  }
4182
4190
  }
4183
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4191
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4184
4192
  MediaDropdown_default,
4185
4193
  {
4186
4194
  id: materialKey,
4187
- answer: answerMap[materialKey] === "DEFAULT_OPTION" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed border-catchup-blue", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "italic", children: i18n_default.t("please_select") }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4195
+ answer: answerMap[materialKey] === "DEFAULT_OPTION" ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed border-catchup-blue", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "italic", children: i18n_default.t("please_select") }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4188
4196
  ShowMaterialMediaByContentType_default,
4189
4197
  {
4190
4198
  contentType: contentMap.type,
@@ -4196,7 +4204,7 @@ var DropdownActivityMaterialContent = ({
4196
4204
  optionList: materialMap[materialKey][answerKey].map(
4197
4205
  (materialOption, index2) => ({
4198
4206
  id: index2,
4199
- media: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4207
+ media: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4200
4208
  ShowMaterialMediaByContentType_default,
4201
4209
  {
4202
4210
  contentType: contentMap.type,
@@ -4215,24 +4223,24 @@ var DropdownActivityMaterialContent = ({
4215
4223
  })
4216
4224
  )
4217
4225
  }
4218
- ) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4226
+ ) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4219
4227
  answerMap[materialKey]
4220
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4228
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4221
4229
  "span",
4222
4230
  {
4223
4231
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4224
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_katex2.InlineMath, { math: inputPart.value }) }) : inputPart.value
4232
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_katex2.InlineMath, { math: inputPart.value }) }) : inputPart.value
4225
4233
  },
4226
4234
  index2
4227
4235
  )) }) }),
4228
- learnerAnswerState === "CORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4236
+ learnerAnswerState === "CORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4229
4237
  BaseImage_default,
4230
4238
  {
4231
4239
  src: "/icons/checkbox.webp",
4232
4240
  alt: "chekbbox",
4233
4241
  size: "small"
4234
4242
  }
4235
- ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4243
+ ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4236
4244
  BaseImage_default,
4237
4245
  {
4238
4246
  src: "/icons/cross-red.webp",
@@ -4248,7 +4256,7 @@ var DropdownActivityMaterialContent = ({
4248
4256
  var DropdownActivityMaterialContent_default = DropdownActivityMaterialContent;
4249
4257
 
4250
4258
  // src/components/activities/DropdownActivityContent.tsx
4251
- var import_jsx_runtime19 = require("react/jsx-runtime");
4259
+ var import_jsx_runtime20 = require("react/jsx-runtime");
4252
4260
  var DropdownActivityContent = ({
4253
4261
  answer,
4254
4262
  data,
@@ -4272,8 +4280,8 @@ var DropdownActivityContent = ({
4272
4280
  answerMap[key] = value;
4273
4281
  changeAnswer(answer2);
4274
4282
  };
4275
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
4276
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4283
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
4284
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4277
4285
  ActivityBodyContent_default,
4278
4286
  {
4279
4287
  bodyMap: dropdownBodyMap,
@@ -4282,9 +4290,9 @@ var DropdownActivityContent = ({
4282
4290
  templateType: "DROPDOWN"
4283
4291
  }
4284
4292
  ) }),
4285
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DividerLine_default, {}) }),
4286
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(VerticalDividerLine_default, {}) }),
4287
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4293
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DividerLine_default, {}) }),
4294
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(VerticalDividerLine_default, {}) }),
4295
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4288
4296
  DropdownActivityMaterialContent_default,
4289
4297
  {
4290
4298
  uniqueValue: JSON.stringify(data.contentMap),
@@ -4309,7 +4317,7 @@ var import_react_dnd3 = require("react-dnd");
4309
4317
 
4310
4318
  // src/components/dnds/DraggableItem.tsx
4311
4319
  var import_react_dnd = require("react-dnd");
4312
- var import_jsx_runtime20 = require("react/jsx-runtime");
4320
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4313
4321
  var DraggableItem = ({
4314
4322
  key,
4315
4323
  item,
@@ -4331,11 +4339,11 @@ var DraggableItem = ({
4331
4339
  })
4332
4340
  });
4333
4341
  const opacity = isDragging ? 0.4 : 1;
4334
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4342
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4335
4343
  "div",
4336
4344
  {
4337
4345
  className: `${isDragging ? "w-[0px] opacity-0" : "opacity-100"} transition-all duration-500`,
4338
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { ref: drag, className: "", style: { opacity }, children: component })
4346
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { ref: drag, className: "", style: { opacity }, children: component })
4339
4347
  },
4340
4348
  key
4341
4349
  );
@@ -4345,7 +4353,7 @@ var DraggableItem_default = DraggableItem;
4345
4353
  // src/components/dnds/DroppableItem.tsx
4346
4354
  var import_react15 = require("react");
4347
4355
  var import_react_dnd2 = require("react-dnd");
4348
- var import_jsx_runtime21 = require("react/jsx-runtime");
4356
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4349
4357
  var DroppableItem = ({
4350
4358
  key,
4351
4359
  item,
@@ -4365,7 +4373,7 @@ var DroppableItem = ({
4365
4373
  }
4366
4374
  });
4367
4375
  dropRef(drop(ref));
4368
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4376
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4369
4377
  "div",
4370
4378
  {
4371
4379
  className: `w-full transition-all duration-500 h-full`,
@@ -4378,7 +4386,7 @@ var DroppableItem = ({
4378
4386
  var DroppableItem_default = DroppableItem;
4379
4387
 
4380
4388
  // src/components/activities/material-content/FillInTheBlanksActivityMaterialContent.tsx
4381
- var import_jsx_runtime22 = require("react/jsx-runtime");
4389
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4382
4390
  var FillInTheBlanksActivityMaterialContent = ({
4383
4391
  uniqueValue,
4384
4392
  answer,
@@ -4436,12 +4444,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4436
4444
  return Object.keys(answerMap2).findIndex((key) => answerMap2[key] === option) !== -1;
4437
4445
  };
4438
4446
  const answerMap = retrieveAnswerMap();
4439
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-row flex-wrap items-center", onMouseUp: () => {
4447
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex flex-row flex-wrap items-center", onMouseUp: () => {
4440
4448
  }, children: [
4441
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_fill_in_the_blanks_text") }) }),
4442
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(DividerLine_default, {}) }),
4443
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "w-full flex flex-row flex-wrap gap-x-2 gap-y-2 my-2", children: shuffleOptionList.map(
4444
- (option, index) => checkAnswerProvided(answerMap, option) ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "opacity-30", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4449
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_fill_in_the_blanks_text") }) }),
4450
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DividerLine_default, {}) }),
4451
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "w-full flex flex-row flex-wrap gap-x-2 gap-y-2 my-2", children: shuffleOptionList.map(
4452
+ (option, index) => checkAnswerProvided(answerMap, option) ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "opacity-30", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4445
4453
  ShowMaterialMediaByContentType_default,
4446
4454
  {
4447
4455
  contentType: contentMap.type,
@@ -4449,12 +4457,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4449
4457
  canFullScreen: true
4450
4458
  },
4451
4459
  `${uniqueValue}-${index}`
4452
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4460
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4453
4461
  DraggableItem_default,
4454
4462
  {
4455
4463
  item: { index: option },
4456
4464
  type: "FILL_IN_THE_BLANKS",
4457
- component: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4465
+ component: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4458
4466
  "div",
4459
4467
  {
4460
4468
  className: "border-catchup-blue border-2 px-2 py-1 rounded-catchup-xlarge cursor-pointer",
@@ -4462,9 +4470,9 @@ var FillInTheBlanksActivityMaterialContent = ({
4462
4470
  setSelectedOption(option);
4463
4471
  setPasteOptionIndex(null);
4464
4472
  },
4465
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "italic whitespace-pre-wrap", children: option })
4473
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "italic whitespace-pre-wrap", children: option })
4466
4474
  }
4467
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4475
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4468
4476
  "div",
4469
4477
  {
4470
4478
  className: "border-catchup-blue border-2 px-2 py-1 rounded-catchup-xlarge cursor-pointer",
@@ -4472,7 +4480,7 @@ var FillInTheBlanksActivityMaterialContent = ({
4472
4480
  setSelectedOption(option);
4473
4481
  setPasteOptionIndex(null);
4474
4482
  },
4475
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4483
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4476
4484
  ShowMaterialMediaByContentType_default,
4477
4485
  {
4478
4486
  contentType: contentMap.type,
@@ -4490,12 +4498,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4490
4498
  index
4491
4499
  )
4492
4500
  ) }),
4493
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4501
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4494
4502
  const learnerAnswerState = checkAnswerState(
4495
4503
  JSON.parse(materialMap[materialKey]),
4496
4504
  answerMap[materialKey]
4497
4505
  );
4498
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4506
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4499
4507
  DroppableItem_default,
4500
4508
  {
4501
4509
  item: { index },
@@ -4503,13 +4511,13 @@ var FillInTheBlanksActivityMaterialContent = ({
4503
4511
  target: pasteOptionIndex,
4504
4512
  setTarget: setPasteOptionIndex,
4505
4513
  dropRef: drop,
4506
- component: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4507
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "my-auto", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("p", { className: "text-xl", children: [
4514
+ component: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4515
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "my-auto", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("p", { className: "text-xl", children: [
4508
4516
  parseFloat(materialKey) + 1,
4509
4517
  "."
4510
4518
  ] }) }),
4511
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "relative", children: [
4512
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4519
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "relative", children: [
4520
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4513
4521
  InputGroup_default,
4514
4522
  {
4515
4523
  type: "textarea",
@@ -4524,14 +4532,14 @@ var FillInTheBlanksActivityMaterialContent = ({
4524
4532
  }
4525
4533
  }
4526
4534
  ) }),
4527
- learnerAnswerState === "CORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4535
+ learnerAnswerState === "CORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4528
4536
  BaseImage_default,
4529
4537
  {
4530
4538
  src: "/icons/checkbox.webp",
4531
4539
  alt: "checkbox",
4532
4540
  size: "small"
4533
4541
  }
4534
- ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4542
+ ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4535
4543
  BaseImage_default,
4536
4544
  {
4537
4545
  src: "/icons/cross-red.webp",
@@ -4539,20 +4547,20 @@ var FillInTheBlanksActivityMaterialContent = ({
4539
4547
  size: "small"
4540
4548
  }
4541
4549
  ) }) : null
4542
- ] }) : answerMap[materialKey] === "" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4550
+ ] }) : answerMap[materialKey] === "" ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4543
4551
  "div",
4544
4552
  {
4545
4553
  className: `w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed ${learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
4546
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "italic", children: i18n_default.t("please_drop_here") }) })
4554
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "italic", children: i18n_default.t("please_drop_here") }) })
4547
4555
  }
4548
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4556
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4549
4557
  "div",
4550
4558
  {
4551
4559
  className: "flex-1 cursor-pointer",
4552
4560
  onClick: () => {
4553
4561
  onChange(answer, materialKey, "");
4554
4562
  },
4555
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4563
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4556
4564
  ShowMaterialMediaByContentType_default,
4557
4565
  {
4558
4566
  contentType: contentMap.type,
@@ -4562,13 +4570,13 @@ var FillInTheBlanksActivityMaterialContent = ({
4562
4570
  `${uniqueValue}-${index}`
4563
4571
  )
4564
4572
  }
4565
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
4573
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
4566
4574
  answerMap[materialKey]
4567
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4575
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4568
4576
  "span",
4569
4577
  {
4570
4578
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4571
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_katex3.InlineMath, { math: inputPart.value }) }) : inputPart.value
4579
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_katex3.InlineMath, { math: inputPart.value }) }) : inputPart.value
4572
4580
  },
4573
4581
  index2
4574
4582
  )) }, materialKey) })
@@ -4582,7 +4590,7 @@ var FillInTheBlanksActivityMaterialContent = ({
4582
4590
  var FillInTheBlanksActivityMaterialContent_default = FillInTheBlanksActivityMaterialContent;
4583
4591
 
4584
4592
  // src/components/activities/FillInTheBlanksActivityContent.tsx
4585
- var import_jsx_runtime23 = require("react/jsx-runtime");
4593
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4586
4594
  var FillInTheBlanksActivityContent = ({
4587
4595
  answer,
4588
4596
  data,
@@ -4631,8 +4639,8 @@ var FillInTheBlanksActivityContent = ({
4631
4639
  answerMap[key] = value;
4632
4640
  changeAnswer(answer2);
4633
4641
  };
4634
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
4635
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4642
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
4643
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4636
4644
  ActivityBodyContent_default,
4637
4645
  {
4638
4646
  bodyMap: fillInTheBlanksBodyMap,
@@ -4641,9 +4649,9 @@ var FillInTheBlanksActivityContent = ({
4641
4649
  templateType: "FILL_IN_THE_BLANKS"
4642
4650
  }
4643
4651
  ) }),
4644
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DividerLine_default, {}) }),
4645
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(VerticalDividerLine_default, {}) }),
4646
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4652
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DividerLine_default, {}) }),
4653
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(VerticalDividerLine_default, {}) }),
4654
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4647
4655
  FillInTheBlanksActivityMaterialContent_default,
4648
4656
  {
4649
4657
  uniqueValue: JSON.stringify(data.contentMap),
@@ -4702,7 +4710,7 @@ var useScreenSize = () => {
4702
4710
  var useScreenSize_default = useScreenSize;
4703
4711
 
4704
4712
  // src/components/activities/material-content/GroupingActivityMaterialContent.tsx
4705
- var import_jsx_runtime24 = require("react/jsx-runtime");
4713
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4706
4714
  var GroupingActivityMaterialContent = ({
4707
4715
  uniqueValue,
4708
4716
  answer,
@@ -4807,19 +4815,19 @@ var GroupingActivityMaterialContent = ({
4807
4815
  };
4808
4816
  const answerMap = retrieveAnswerMap();
4809
4817
  const filteredMaterialList = retrieveFilteredMaterialList(answerMap);
4810
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
4811
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4818
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
4819
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4812
4820
  "div",
4813
4821
  {
4814
4822
  ref: itemsRef,
4815
4823
  className: "flex-1 flex flex-row gap-x-4 gap-y-4 overflow-auto py-2",
4816
4824
  children: filteredMaterialList.map((materialValue, index) => {
4817
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4825
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4818
4826
  DraggableItem_default,
4819
4827
  {
4820
4828
  item: { index: materialValue },
4821
4829
  type: "GROUPING",
4822
- component: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4830
+ component: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4823
4831
  "div",
4824
4832
  {
4825
4833
  className: `${selectedValue === materialValue ? "border-catchup-blue" : "border-catchup-lighter-gray"} h-catchup-activity-covering-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer transition-all duration-300`,
@@ -4833,22 +4841,22 @@ var GroupingActivityMaterialContent = ({
4833
4841
  setSelectedValue(null);
4834
4842
  }
4835
4843
  },
4836
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4844
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4837
4845
  "div",
4838
4846
  {
4839
4847
  className: `flex flex-col items-center justify-center m-4 min-h-[64px] min-w-[200px]`,
4840
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4848
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4841
4849
  materialValue
4842
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4850
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4843
4851
  "span",
4844
4852
  {
4845
4853
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4846
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_katex4.InlineMath, { math: inputPart.value }) }) : inputPart.value
4854
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_katex4.InlineMath, { math: inputPart.value }) }) : inputPart.value
4847
4855
  },
4848
4856
  index2
4849
4857
  )) })
4850
4858
  }
4851
- ) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4859
+ ) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4852
4860
  ShowMaterialMediaByContentType_default,
4853
4861
  {
4854
4862
  contentType: contentMap.type,
@@ -4873,22 +4881,22 @@ var GroupingActivityMaterialContent = ({
4873
4881
  })
4874
4882
  }
4875
4883
  ),
4876
- filteredMaterialList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DividerLine_default, {}) : null,
4877
- Object.keys(answerMap).map((answerMapKey, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-row w-full", children: [
4878
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "w-1/3", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4884
+ filteredMaterialList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DividerLine_default, {}) : null,
4885
+ Object.keys(answerMap).map((answerMapKey, index) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-row w-full", children: [
4886
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-1/3", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4879
4887
  "div",
4880
4888
  {
4881
4889
  className: `border-catchup-blue h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge transition-all duration-300 my-3`,
4882
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4890
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4883
4891
  "div",
4884
4892
  {
4885
4893
  className: `flex flex-col items-center justify-center transition-all duration-300 m-4`,
4886
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
4887
- (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4894
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
4895
+ (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4888
4896
  "span",
4889
4897
  {
4890
4898
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4891
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_katex4.InlineMath, { math: inputPart.value }) }) : inputPart.value
4899
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_katex4.InlineMath, { math: inputPart.value }) }) : inputPart.value
4892
4900
  },
4893
4901
  index2
4894
4902
  )
@@ -4897,12 +4905,12 @@ var GroupingActivityMaterialContent = ({
4897
4905
  )
4898
4906
  }
4899
4907
  ) }),
4900
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
4901
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "flex-1", ref, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "h-full py-3", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4908
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
4909
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "flex-1", ref, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "h-full py-3", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4902
4910
  "div",
4903
4911
  {
4904
4912
  className: `${canDrop ? selectedTargetKey === answerMapKey ? "bg-catchup-light-blue" : "bg-catchup-light-blue opacity-40" : ""} flex-1 border-catchup-blue rounded-catchup-xlarge border-2 h-full p-1`,
4905
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4913
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4906
4914
  DroppableItem_default,
4907
4915
  {
4908
4916
  item: { index: answerMapKey },
@@ -4910,7 +4918,7 @@ var GroupingActivityMaterialContent = ({
4910
4918
  target: selectedTargetKey,
4911
4919
  setTarget: setSelectedTargetKey,
4912
4920
  dropRef: drop,
4913
- component: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4921
+ component: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4914
4922
  "div",
4915
4923
  {
4916
4924
  className: "h-full flex-1 flex flex-row items-center overflow-x-auto",
@@ -4923,7 +4931,7 @@ var GroupingActivityMaterialContent = ({
4923
4931
  materialMap[answerMapKey],
4924
4932
  answerMapValue
4925
4933
  );
4926
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "p-1", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "h-catchup-activity-box-item", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4934
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "p-1", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "h-catchup-activity-box-item", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4927
4935
  "div",
4928
4936
  {
4929
4937
  className: `${learnerAnswerState === "EMPTY" ? "border-catchup-lighter-gray" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"} border-2 rounded-catchup-xlarge h-full flex flex-col items-center justify-center transition-all duration-300 cursor-pointer`,
@@ -4939,17 +4947,17 @@ var GroupingActivityMaterialContent = ({
4939
4947
  setSelectedValue(null);
4940
4948
  }
4941
4949
  },
4942
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4950
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4943
4951
  "div",
4944
4952
  {
4945
4953
  className: `flex flex-col items-center justify-center transition-all duration-300 min-h-[64px] min-w-[200px]`,
4946
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4954
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4947
4955
  answerMapValue
4948
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4956
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4949
4957
  "span",
4950
4958
  {
4951
4959
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4952
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4960
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4953
4961
  import_react_katex4.InlineMath,
4954
4962
  {
4955
4963
  math: inputPart.value
@@ -4959,7 +4967,7 @@ var GroupingActivityMaterialContent = ({
4959
4967
  index2
4960
4968
  )) }) })
4961
4969
  }
4962
- ) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4970
+ ) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4963
4971
  ShowMaterialMediaByContentType_default,
4964
4972
  {
4965
4973
  contentType: contentMap.type,
@@ -4985,7 +4993,7 @@ var GroupingActivityMaterialContent = ({
4985
4993
  var GroupingActivityMaterialContent_default = GroupingActivityMaterialContent;
4986
4994
 
4987
4995
  // src/components/activities/GroupingActivityContent.tsx
4988
- var import_jsx_runtime25 = require("react/jsx-runtime");
4996
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4989
4997
  var GroupingActivityContent = ({
4990
4998
  answer,
4991
4999
  data,
@@ -5010,16 +5018,16 @@ var GroupingActivityContent = ({
5010
5018
  }
5011
5019
  changeAnswer(answer2);
5012
5020
  };
5013
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
5014
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5021
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
5022
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5015
5023
  ActivityBodyContent_default,
5016
5024
  {
5017
5025
  bodyMap: groupingBodyMap,
5018
5026
  templateType: "GROUPING"
5019
5027
  }
5020
5028
  ),
5021
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DividerLine_default, {}),
5022
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5029
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DividerLine_default, {}),
5030
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5023
5031
  GroupingActivityMaterialContent_default,
5024
5032
  {
5025
5033
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5040,7 +5048,7 @@ var GroupingActivityContent_default = GroupingActivityContent;
5040
5048
  var import_react20 = require("react");
5041
5049
  var import_react_dnd5 = require("react-dnd");
5042
5050
  var import_react_katex5 = require("react-katex");
5043
- var import_jsx_runtime26 = require("react/jsx-runtime");
5051
+ var import_jsx_runtime27 = require("react/jsx-runtime");
5044
5052
  var MatchingActivityMaterialContent = ({
5045
5053
  uniqueValue,
5046
5054
  answer,
@@ -5136,18 +5144,18 @@ var MatchingActivityMaterialContent = ({
5136
5144
  };
5137
5145
  const answerMap = retrieveAnswerMap();
5138
5146
  const filteredMaterialList = retrieveFilteredMaterialList(answerMap);
5139
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
5140
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5147
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
5148
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5141
5149
  "div",
5142
5150
  {
5143
5151
  ref: itemsRef,
5144
5152
  className: "flex-1 flex flex-row gap-x-4 gap-y-4 overflow-auto py-2",
5145
- children: filteredMaterialList.map((materialValue, index) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5153
+ children: filteredMaterialList.map((materialValue, index) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5146
5154
  DraggableItem_default,
5147
5155
  {
5148
5156
  item: { index: materialValue },
5149
5157
  type: "MATCHING",
5150
- component: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5158
+ component: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5151
5159
  "div",
5152
5160
  {
5153
5161
  className: `${selectedValue === materialValue ? "border-catchup-blue" : "border-catchup-lighter-gray"} h-catchup-activity-covering-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer transition-all duration-300`,
@@ -5161,22 +5169,22 @@ var MatchingActivityMaterialContent = ({
5161
5169
  setSelectedValue(null);
5162
5170
  }
5163
5171
  },
5164
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5172
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5165
5173
  "div",
5166
5174
  {
5167
5175
  className: `flex flex-col items-center justify-center m-4 min-h-[64px] min-w-[200px]`,
5168
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5176
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5169
5177
  materialValue
5170
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5178
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5171
5179
  "span",
5172
5180
  {
5173
5181
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5174
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_katex5.InlineMath, { math: inputPart.value }) }) : inputPart.value
5182
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_katex5.InlineMath, { math: inputPart.value }) }) : inputPart.value
5175
5183
  },
5176
5184
  index2
5177
5185
  )) })
5178
5186
  }
5179
- ) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5187
+ ) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5180
5188
  ShowMaterialMediaByContentType_default,
5181
5189
  {
5182
5190
  contentType: contentMap.type,
@@ -5200,27 +5208,27 @@ var MatchingActivityMaterialContent = ({
5200
5208
  ))
5201
5209
  }
5202
5210
  ),
5203
- filteredMaterialList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DividerLine_default, {}) : null,
5211
+ filteredMaterialList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(DividerLine_default, {}) : null,
5204
5212
  Object.keys(answerMap).map((answerMapKey, index) => {
5205
5213
  const learnerAnswerState = checkAnswerState(
5206
5214
  materialMap[answerMapKey],
5207
5215
  answerMap[answerMapKey]
5208
5216
  );
5209
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row w-full", children: [
5210
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-1/3", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5217
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row w-full", children: [
5218
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-1/3", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5211
5219
  "div",
5212
5220
  {
5213
5221
  className: `h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge transition-all duration-300 my-3 ${learnerAnswerState === "EMPTY" ? "border-catchup-blue" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
5214
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5222
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5215
5223
  "div",
5216
5224
  {
5217
5225
  className: `flex flex-col items-center justify-center transition-all duration-300 m-4`,
5218
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5219
- (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5226
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5227
+ (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5220
5228
  "span",
5221
5229
  {
5222
5230
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5223
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_katex5.InlineMath, { math: inputPart.value }) }) : inputPart.value
5231
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_katex5.InlineMath, { math: inputPart.value }) }) : inputPart.value
5224
5232
  },
5225
5233
  index2
5226
5234
  )
@@ -5229,8 +5237,8 @@ var MatchingActivityMaterialContent = ({
5229
5237
  )
5230
5238
  }
5231
5239
  ) }),
5232
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5233
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5240
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5241
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5234
5242
  "div",
5235
5243
  {
5236
5244
  className: `${canDrop ? selectedTargetKey === answerMapKey ? "bg-catchup-light-blue" : "bg-catchup-light-blue opacity-40" : ""} h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer transition-all duration-300 my-3 ${learnerAnswerState === "EMPTY" ? "border-catchup-blue" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
@@ -5239,7 +5247,7 @@ var MatchingActivityMaterialContent = ({
5239
5247
  setSelectedValue(null);
5240
5248
  }
5241
5249
  },
5242
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5250
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5243
5251
  DroppableItem_default,
5244
5252
  {
5245
5253
  item: { index: answerMapKey },
@@ -5247,7 +5255,7 @@ var MatchingActivityMaterialContent = ({
5247
5255
  target: selectedTargetKey,
5248
5256
  setTarget: setSelectedTargetKey,
5249
5257
  dropRef: drop,
5250
- component: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5258
+ component: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5251
5259
  "div",
5252
5260
  {
5253
5261
  className: `h-full flex-1 flex flex-row items-center justify-center `,
@@ -5260,16 +5268,16 @@ var MatchingActivityMaterialContent = ({
5260
5268
  );
5261
5269
  }
5262
5270
  },
5263
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5271
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5264
5272
  answerMap[answerMapKey]
5265
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5273
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5266
5274
  "span",
5267
5275
  {
5268
5276
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5269
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_katex5.InlineMath, { math: inputPart.value }) }) : inputPart.value
5277
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react_katex5.InlineMath, { math: inputPart.value }) }) : inputPart.value
5270
5278
  },
5271
5279
  index2
5272
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5280
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5273
5281
  ShowMaterialMediaByContentType_default,
5274
5282
  {
5275
5283
  contentType: contentMap.type,
@@ -5292,7 +5300,7 @@ var MatchingActivityMaterialContent = ({
5292
5300
  var MatchingActivityMaterialContent_default = MatchingActivityMaterialContent;
5293
5301
 
5294
5302
  // src/components/activities/MatchingActivityContent.tsx
5295
- var import_jsx_runtime27 = require("react/jsx-runtime");
5303
+ var import_jsx_runtime28 = require("react/jsx-runtime");
5296
5304
  var MatchingActivityContent = ({
5297
5305
  answer,
5298
5306
  data,
@@ -5313,16 +5321,16 @@ var MatchingActivityContent = ({
5313
5321
  answerMap[key] = value;
5314
5322
  changeAnswer(answer2);
5315
5323
  };
5316
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
5317
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5324
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
5325
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5318
5326
  ActivityBodyContent_default,
5319
5327
  {
5320
5328
  bodyMap: matchingBodyMap,
5321
5329
  templateType: "MATCHING"
5322
5330
  }
5323
5331
  ),
5324
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(DividerLine_default, {}),
5325
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5332
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DividerLine_default, {}),
5333
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5326
5334
  MatchingActivityMaterialContent_default,
5327
5335
  {
5328
5336
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5341,7 +5349,7 @@ var MatchingActivityContent_default = MatchingActivityContent;
5341
5349
 
5342
5350
  // src/components/activities/material-content/MCMAActivityMaterialContent.tsx
5343
5351
  var import_react_katex6 = require("react-katex");
5344
- var import_jsx_runtime28 = require("react/jsx-runtime");
5352
+ var import_jsx_runtime29 = require("react/jsx-runtime");
5345
5353
  var MCMAActivityMaterialContent = ({
5346
5354
  uniqueValue,
5347
5355
  answer,
@@ -5374,10 +5382,10 @@ var MCMAActivityMaterialContent = ({
5374
5382
  const answerMap = retrieveAnswerMap();
5375
5383
  const correctAnswerList = retrieveCorrectAnswerList();
5376
5384
  return Object.keys(materialMap).map((materialKey, index) => {
5377
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5378
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5379
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DividerLine_default, {}) }),
5380
- checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
5385
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5386
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5387
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(DividerLine_default, {}) }),
5388
+ checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
5381
5389
  (materialSubKey, index2) => {
5382
5390
  const foundAnswer = answerMap[materialKey].find(
5383
5391
  (learnerAnswer) => learnerAnswer === materialSubKey
@@ -5390,7 +5398,7 @@ var MCMAActivityMaterialContent = ({
5390
5398
  const foundIndex = correctAnswerList.findIndex(
5391
5399
  (correctAnswer) => correctAnswer === materialSubKey
5392
5400
  );
5393
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5401
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5394
5402
  "div",
5395
5403
  {
5396
5404
  className: `w-full flex flex-row items-center justify-center cursor-pointer my-2 gap-x-2 ${learnerAnswerState === "EMPTY" && foundIndex !== -1 || learnerAnswerState === "CORRECT" ? "border-2 border-catchup-green rounded-catchup-xlarge p-2" : learnerAnswerState === "INCORRECT" ? "border-2 border-catchup-red rounded-catchup-xlarge p-2" : ""}`,
@@ -5398,7 +5406,7 @@ var MCMAActivityMaterialContent = ({
5398
5406
  onChange(answer, materialKey, materialSubKey);
5399
5407
  },
5400
5408
  children: [
5401
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5409
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5402
5410
  BaseImage_default,
5403
5411
  {
5404
5412
  src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -5408,16 +5416,16 @@ var MCMAActivityMaterialContent = ({
5408
5416
  }
5409
5417
  }
5410
5418
  ),
5411
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5419
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5412
5420
  materialSubKey
5413
- ).map((inputPart, index3) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5421
+ ).map((inputPart, index3) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5414
5422
  "span",
5415
5423
  {
5416
5424
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5417
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react_katex6.InlineMath, { math: inputPart.value }) }) : inputPart.value
5425
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_katex6.InlineMath, { math: inputPart.value }) }) : inputPart.value
5418
5426
  },
5419
5427
  index3
5420
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5428
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5421
5429
  ShowMaterialMediaByContentType_default,
5422
5430
  {
5423
5431
  contentType: contentMap.type,
@@ -5431,13 +5439,13 @@ var MCMAActivityMaterialContent = ({
5431
5439
  index2
5432
5440
  );
5433
5441
  }
5434
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
5442
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
5435
5443
  answerMap[materialKey]
5436
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5444
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5437
5445
  "span",
5438
5446
  {
5439
5447
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5440
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react_katex6.InlineMath, { math: inputPart.value }) }) : inputPart.value
5448
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_katex6.InlineMath, { math: inputPart.value }) }) : inputPart.value
5441
5449
  },
5442
5450
  index2
5443
5451
  )) }, materialKey)
@@ -5447,7 +5455,7 @@ var MCMAActivityMaterialContent = ({
5447
5455
  var MCMAActivityMaterialContent_default = MCMAActivityMaterialContent;
5448
5456
 
5449
5457
  // src/components/activities/MCMAActivityContent.tsx
5450
- var import_jsx_runtime29 = require("react/jsx-runtime");
5458
+ var import_jsx_runtime30 = require("react/jsx-runtime");
5451
5459
  var MCMAActivityContent = ({
5452
5460
  answer,
5453
5461
  data,
@@ -5474,11 +5482,11 @@ var MCMAActivityContent = ({
5474
5482
  }
5475
5483
  changeAnswer(answer2);
5476
5484
  };
5477
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
5478
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ActivityBodyContent_default, { bodyMap: MCMABodyMap, templateType: "MCMA" }) }),
5479
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(DividerLine_default, {}) }),
5480
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(VerticalDividerLine_default, {}) }),
5481
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5485
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
5486
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ActivityBodyContent_default, { bodyMap: MCMABodyMap, templateType: "MCMA" }) }),
5487
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DividerLine_default, {}) }),
5488
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(VerticalDividerLine_default, {}) }),
5489
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5482
5490
  MCMAActivityMaterialContent_default,
5483
5491
  {
5484
5492
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5496,7 +5504,7 @@ var MCMAActivityContent_default = MCMAActivityContent;
5496
5504
 
5497
5505
  // src/components/activities/material-content/MCSAActivityMaterialContent.tsx
5498
5506
  var import_react_katex7 = require("react-katex");
5499
- var import_jsx_runtime30 = require("react/jsx-runtime");
5507
+ var import_jsx_runtime31 = require("react/jsx-runtime");
5500
5508
  var MCSAActivityMaterialContent = ({
5501
5509
  uniqueValue,
5502
5510
  answer,
@@ -5526,10 +5534,10 @@ var MCSAActivityMaterialContent = ({
5526
5534
  const answerMap = retrieveAnswerMap();
5527
5535
  const correctAnswer = retrieveCorrectAnswer();
5528
5536
  return Object.keys(materialMap).map((materialKey, index) => {
5529
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5530
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5531
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DividerLine_default, {}) }),
5532
- checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5537
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5538
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5539
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DividerLine_default, {}) }),
5540
+ checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5533
5541
  "div",
5534
5542
  {
5535
5543
  className: `flex flex-row w-full ${Object.keys(materialMap[materialKey]).length <= 4 ? "justify-center" : ""} flex-wrap`,
@@ -5540,7 +5548,7 @@ var MCSAActivityMaterialContent = ({
5540
5548
  materialSubKey,
5541
5549
  answerMap[materialKey]
5542
5550
  );
5543
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
5551
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5544
5552
  "div",
5545
5553
  {
5546
5554
  className: `w-full flex flex-row items-center justify-center cursor-pointer my-2 gap-x-2 ${learnerAnswerState === "EMPTY" && materialSubKey === correctAnswer || learnerAnswerState === "CORRECT" ? "border-2 border-catchup-green rounded-catchup-xlarge p-2" : learnerAnswerState === "INCORRECT" ? "border-2 border-catchup-red rounded-catchup-xlarge p-2" : ""}`,
@@ -5548,7 +5556,7 @@ var MCSAActivityMaterialContent = ({
5548
5556
  onChange(answer, materialKey, materialSubKey);
5549
5557
  },
5550
5558
  children: [
5551
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5559
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5552
5560
  BaseImage_default,
5553
5561
  {
5554
5562
  src: answerMap[materialKey] === materialSubKey ? "/icons/item-element.webp" : "/icons/not-selected-item-element.webp",
@@ -5558,16 +5566,16 @@ var MCSAActivityMaterialContent = ({
5558
5566
  }
5559
5567
  }
5560
5568
  ),
5561
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5569
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5562
5570
  materialSubKey
5563
- ).map((inputPart, index3) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5571
+ ).map((inputPart, index3) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5564
5572
  "span",
5565
5573
  {
5566
5574
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5567
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_katex7.InlineMath, { math: inputPart.value }) }) : inputPart.value
5575
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react_katex7.InlineMath, { math: inputPart.value }) }) : inputPart.value
5568
5576
  },
5569
5577
  index3
5570
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5578
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5571
5579
  ShowMaterialMediaByContentType_default,
5572
5580
  {
5573
5581
  contentType: contentMap.type,
@@ -5583,13 +5591,13 @@ var MCSAActivityMaterialContent = ({
5583
5591
  }
5584
5592
  )
5585
5593
  }
5586
- ) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5594
+ ) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5587
5595
  answerMap[materialKey]
5588
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5596
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5589
5597
  "span",
5590
5598
  {
5591
5599
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5592
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_katex7.InlineMath, { math: inputPart.value }) }) : inputPart.value
5600
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react_katex7.InlineMath, { math: inputPart.value }) }) : inputPart.value
5593
5601
  },
5594
5602
  index2
5595
5603
  )) })
@@ -5599,7 +5607,7 @@ var MCSAActivityMaterialContent = ({
5599
5607
  var MCSAActivityMaterialContent_default = MCSAActivityMaterialContent;
5600
5608
 
5601
5609
  // src/components/activities/MCSAActivityContent.tsx
5602
- var import_jsx_runtime31 = require("react/jsx-runtime");
5610
+ var import_jsx_runtime32 = require("react/jsx-runtime");
5603
5611
  var MCSAActivityContent = ({
5604
5612
  answer,
5605
5613
  data,
@@ -5619,11 +5627,11 @@ var MCSAActivityContent = ({
5619
5627
  answerMap[key] = value;
5620
5628
  changeAnswer(answer2);
5621
5629
  };
5622
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
5623
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ActivityBodyContent_default, { bodyMap: MCSABodyMap, templateType: "MCSA" }) }),
5624
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DividerLine_default, {}) }),
5625
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(VerticalDividerLine_default, {}) }),
5626
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5630
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
5631
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ActivityBodyContent_default, { bodyMap: MCSABodyMap, templateType: "MCSA" }) }),
5632
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DividerLine_default, {}) }),
5633
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(VerticalDividerLine_default, {}) }),
5634
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5627
5635
  MCSAActivityMaterialContent_default,
5628
5636
  {
5629
5637
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5640,7 +5648,7 @@ var MCSAActivityContent = ({
5640
5648
  var MCSAActivityContent_default = MCSAActivityContent;
5641
5649
 
5642
5650
  // src/components/activities/material-content/OpenEndedActivityMaterialContent.tsx
5643
- var import_jsx_runtime32 = require("react/jsx-runtime");
5651
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5644
5652
  var OpenEndedActivityMaterialContent = ({
5645
5653
  answer,
5646
5654
  contentMap,
@@ -5666,7 +5674,7 @@ var OpenEndedActivityMaterialContent = ({
5666
5674
  };
5667
5675
  const RenderTextContent = (answerMap2) => {
5668
5676
  const answerMapAnswer = answerMap2["ANSWER"];
5669
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5677
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5670
5678
  InputGroup_default,
5671
5679
  {
5672
5680
  type: "textarea",
@@ -5679,16 +5687,16 @@ var OpenEndedActivityMaterialContent = ({
5679
5687
  );
5680
5688
  };
5681
5689
  const answerMap = retrieveAnswerMap();
5682
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "", children: [
5683
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_open_ended_text") }) }),
5684
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DividerLine_default, {}) }),
5690
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "", children: [
5691
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_open_ended_text") }) }),
5692
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DividerLine_default, {}) }),
5685
5693
  contentMap.type === "TEXT" ? RenderTextContent(answerMap) : null
5686
5694
  ] }) });
5687
5695
  };
5688
5696
  var OpenEndedActivityMaterialContent_default = OpenEndedActivityMaterialContent;
5689
5697
 
5690
5698
  // src/components/activities/OpenEndedActivityContent.tsx
5691
- var import_jsx_runtime33 = require("react/jsx-runtime");
5699
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5692
5700
  var OpenEndedActivityContent = ({
5693
5701
  answer,
5694
5702
  data,
@@ -5706,12 +5714,12 @@ var OpenEndedActivityContent = ({
5706
5714
  answerMap["ANSWER"] = value;
5707
5715
  changeAnswer(answer2);
5708
5716
  };
5709
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
5710
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5717
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
5718
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5711
5719
  "div",
5712
5720
  {
5713
5721
  className: `${showMaterialContent ? isFullScreen ? "w-full" : "w-full md:w-[40%]" : "w-full"}`,
5714
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5722
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5715
5723
  ActivityBodyContent_default,
5716
5724
  {
5717
5725
  bodyMap: openEndedBodyMap,
@@ -5720,16 +5728,16 @@ var OpenEndedActivityContent = ({
5720
5728
  )
5721
5729
  }
5722
5730
  ),
5723
- showMaterialContent ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
5724
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5731
+ showMaterialContent ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
5732
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5725
5733
  "div",
5726
5734
  {
5727
5735
  className: `${isFullScreen ? "contents" : "contents md:hidden"}`,
5728
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DividerLine_default, {})
5736
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DividerLine_default, {})
5729
5737
  }
5730
5738
  ),
5731
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(VerticalDividerLine_default, {}) }),
5732
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5739
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(VerticalDividerLine_default, {}) }),
5740
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5733
5741
  OpenEndedActivityMaterialContent_default,
5734
5742
  {
5735
5743
  answer,
@@ -5750,7 +5758,7 @@ var import_react_katex8 = require("react-katex");
5750
5758
  // src/components/dnds/DraggableDroppableItem.tsx
5751
5759
  var import_react21 = require("react");
5752
5760
  var import_react_dnd6 = require("react-dnd");
5753
- var import_jsx_runtime34 = require("react/jsx-runtime");
5761
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5754
5762
  var DraggableDroppableItem = ({
5755
5763
  key,
5756
5764
  item,
@@ -5788,12 +5796,12 @@ var DraggableDroppableItem = ({
5788
5796
  });
5789
5797
  const opacity = isDragging ? 0.4 : 1;
5790
5798
  drag(drop(ref));
5791
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5799
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5792
5800
  "div",
5793
5801
  {
5794
5802
  className: `${isDragging ? "w-[0px] opacity-0" : "w-full opacity-100"} transition-all duration-500`,
5795
5803
  ref: dropRef,
5796
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { ref, className: "w-full", style: { opacity }, children: component })
5804
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, className: "w-full", style: { opacity }, children: component })
5797
5805
  },
5798
5806
  key
5799
5807
  );
@@ -5801,7 +5809,7 @@ var DraggableDroppableItem = ({
5801
5809
  var DraggableDroppableItem_default = DraggableDroppableItem;
5802
5810
 
5803
5811
  // src/components/activities/material-content/OrderingActivityMaterialContent.tsx
5804
- var import_jsx_runtime35 = require("react/jsx-runtime");
5812
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5805
5813
  var OrderingActivityMaterialContent = ({
5806
5814
  uniqueValue,
5807
5815
  answer,
@@ -5878,12 +5886,12 @@ var OrderingActivityMaterialContent = ({
5878
5886
  return 0;
5879
5887
  };
5880
5888
  const answerMap = retrieveAnswerMap();
5881
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
5889
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
5882
5890
  const learnerAnswerState = checkAnswerState(
5883
5891
  answerMap[materialKey] + "",
5884
5892
  index + ""
5885
5893
  );
5886
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "w-full lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
5894
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "w-full lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5887
5895
  "div",
5888
5896
  {
5889
5897
  className: `flex flex-row items-center my-4 mx-2`,
@@ -5891,26 +5899,26 @@ var OrderingActivityMaterialContent = ({
5891
5899
  marginTop: view === "PC" ? calculateMarginTop(parseFloat(materialKey)) : 0
5892
5900
  },
5893
5901
  children: [
5894
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mr-3", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5902
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "mr-3", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5895
5903
  "div",
5896
5904
  {
5897
5905
  className: `min-h-catchup-activity-outer-box-item w-catchup-activity-box-item flex flex-col items-center justify-center cursor-pointer transition-all duration-300`,
5898
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5906
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5899
5907
  "div",
5900
5908
  {
5901
5909
  className: `${selectedKey === materialKey ? "border-2 border-catchup-light-gray" : "border-2 border-catchup-blue"} flex flex-col items-center justify-center transition-all duration-300 rounded-catchup-full w-[50px] h-[50px]`,
5902
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "", children: parseFloat(materialKey) + 1 })
5910
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "", children: parseFloat(materialKey) + 1 })
5903
5911
  }
5904
5912
  )
5905
5913
  }
5906
5914
  ) }),
5907
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5915
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5908
5916
  DraggableDroppableItem_default,
5909
5917
  {
5910
5918
  item: { index: materialKey },
5911
5919
  type: "ORDERING",
5912
5920
  dropRef: drop,
5913
- component: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5921
+ component: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5914
5922
  "div",
5915
5923
  {
5916
5924
  className: `${canDrop ? selectedKey !== materialKey ? selectedTargetKey === materialKey ? "bg-catchup-light-blue rounded-catchup-xlarge" : "bg-catchup-light-blue rounded-catchup-xlarge opacity-40" : "" : ""} flex-1 min-h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer p-3 ${learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
@@ -5919,16 +5927,16 @@ var OrderingActivityMaterialContent = ({
5919
5927
  setSelectedKey(materialKey);
5920
5928
  }
5921
5929
  },
5922
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5930
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5923
5931
  materialMap[answerMap[materialKey]]
5924
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5932
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5925
5933
  "span",
5926
5934
  {
5927
5935
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5928
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_katex8.InlineMath, { math: inputPart.value }) }) : inputPart.value
5936
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_katex8.InlineMath, { math: inputPart.value }) }) : inputPart.value
5929
5937
  },
5930
5938
  index2
5931
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5939
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5932
5940
  ShowMaterialMediaByContentType_default,
5933
5941
  {
5934
5942
  contentType: contentMap.type,
@@ -5960,7 +5968,7 @@ var OrderingActivityMaterialContent = ({
5960
5968
  var OrderingActivityMaterialContent_default = OrderingActivityMaterialContent;
5961
5969
 
5962
5970
  // src/components/activities/OrderingActivityContent.tsx
5963
- var import_jsx_runtime36 = require("react/jsx-runtime");
5971
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5964
5972
  var OrderingActivityContent = ({
5965
5973
  answer,
5966
5974
  data,
@@ -5983,16 +5991,16 @@ var OrderingActivityContent = ({
5983
5991
  answerMap[secondaryKey] = prevValue;
5984
5992
  changeAnswer(answer2);
5985
5993
  };
5986
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
5987
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5994
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
5995
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5988
5996
  ActivityBodyContent_default,
5989
5997
  {
5990
5998
  bodyMap: orderingBodyMap,
5991
5999
  templateType: "ORDERING"
5992
6000
  }
5993
6001
  ),
5994
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DividerLine_default, {}),
5995
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6002
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DividerLine_default, {}),
6003
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5996
6004
  OrderingActivityMaterialContent_default,
5997
6005
  {
5998
6006
  uniqueValue: JSON.stringify(data.contentMap),
@@ -6012,7 +6020,7 @@ var OrderingActivityContent_default = OrderingActivityContent;
6012
6020
  // src/components/activities/material-content/TrueFalseActivityMaterialContent.tsx
6013
6021
  var import_react23 = require("react");
6014
6022
  var import_react_katex9 = require("react-katex");
6015
- var import_jsx_runtime37 = require("react/jsx-runtime");
6023
+ var import_jsx_runtime38 = require("react/jsx-runtime");
6016
6024
  var TrueFalseActivityMaterialContent = ({
6017
6025
  uniqueValue,
6018
6026
  answer,
@@ -6065,14 +6073,14 @@ var TrueFalseActivityMaterialContent = ({
6065
6073
  return "INCORRECT";
6066
6074
  };
6067
6075
  const answerMap = retrieveAnswerMap();
6068
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "", children: [
6069
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_true_false_text") }) }),
6070
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DividerLine_default, {}) }),
6071
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-row justify-end items-center gap-x-2", children: [
6072
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "font-bold text-lg", children: i18n_default.t("true") }) }),
6073
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "font-bold text-lg", children: i18n_default.t("false") }) })
6076
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "", children: [
6077
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_true_false_text") }) }),
6078
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DividerLine_default, {}) }),
6079
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row justify-end items-center gap-x-2", children: [
6080
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "font-bold text-lg", children: i18n_default.t("true") }) }),
6081
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "font-bold text-lg", children: i18n_default.t("false") }) })
6074
6082
  ] }),
6075
- checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: `flex flex-row w-full justify-center flex-wrap`, children: shuffleOptionList.map((shuffleOption, index) => {
6083
+ checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: `flex flex-row w-full justify-center flex-wrap`, children: shuffleOptionList.map((shuffleOption, index) => {
6076
6084
  const correctAnswer = materialMap.trueList.find(
6077
6085
  (trueItem) => trueItem === shuffleOption
6078
6086
  ) !== void 0 ? "TRUE" : "FALSE";
@@ -6083,21 +6091,21 @@ var TrueFalseActivityMaterialContent = ({
6083
6091
  correctAnswer,
6084
6092
  learnerAnswer
6085
6093
  );
6086
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
6094
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
6087
6095
  "div",
6088
6096
  {
6089
6097
  className: `w-full flex flex-row items-center justify-center cursor-pointer my-2 ${learnerAnswerState === "CORRECT" ? "border-2 border-catchup-green rounded-catchup-xlarge p-2" : learnerAnswerState === "INCORRECT" ? "border-2 border-catchup-red rounded-catchup-xlarge p-2" : ""}`,
6090
6098
  children: [
6091
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "text-xl p-2 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6099
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "text-xl p-2 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6092
6100
  shuffleOption
6093
- ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6101
+ ).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6094
6102
  "span",
6095
6103
  {
6096
6104
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6097
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react_katex9.InlineMath, { math: inputPart.value }) }) : inputPart.value
6105
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_katex9.InlineMath, { math: inputPart.value }) }) : inputPart.value
6098
6106
  },
6099
6107
  index2
6100
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6108
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6101
6109
  ShowMaterialMediaByContentType_default,
6102
6110
  {
6103
6111
  contentType: contentMap.type,
@@ -6106,8 +6114,8 @@ var TrueFalseActivityMaterialContent = ({
6106
6114
  },
6107
6115
  `${uniqueValue}-${index}`
6108
6116
  ) }),
6109
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6110
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6117
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6118
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6111
6119
  BaseImage_default,
6112
6120
  {
6113
6121
  src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -6118,7 +6126,7 @@ var TrueFalseActivityMaterialContent = ({
6118
6126
  }
6119
6127
  }
6120
6128
  ) }) }),
6121
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6129
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6122
6130
  BaseImage_default,
6123
6131
  {
6124
6132
  src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -6134,14 +6142,14 @@ var TrueFalseActivityMaterialContent = ({
6134
6142
  },
6135
6143
  index
6136
6144
  );
6137
- }) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
6138
- answerMap.trueList.map((item) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6139
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { children: item }) }),
6140
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "underline", children: i18n_default.t("true") }) })
6145
+ }) }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
6146
+ answerMap.trueList.map((item) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6147
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { children: item }) }),
6148
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "underline", children: i18n_default.t("true") }) })
6141
6149
  ] })),
6142
- answerMap.falseList.map((item) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6143
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { children: item }) }),
6144
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "underline", children: i18n_default.t("false") }) })
6150
+ answerMap.falseList.map((item) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6151
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { children: item }) }),
6152
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "underline", children: i18n_default.t("false") }) })
6145
6153
  ] }))
6146
6154
  ] })
6147
6155
  ] });
@@ -6149,7 +6157,7 @@ var TrueFalseActivityMaterialContent = ({
6149
6157
  var TrueFalseActivityMaterialContent_default = TrueFalseActivityMaterialContent;
6150
6158
 
6151
6159
  // src/components/activities/TrueFalseActivityContent.tsx
6152
- var import_jsx_runtime38 = require("react/jsx-runtime");
6160
+ var import_jsx_runtime39 = require("react/jsx-runtime");
6153
6161
  var TrueFalseActivityContent = ({
6154
6162
  answer,
6155
6163
  data,
@@ -6199,17 +6207,17 @@ var TrueFalseActivityContent = ({
6199
6207
  }
6200
6208
  changeAnswer(answer2);
6201
6209
  };
6202
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
6203
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[40%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6210
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex flex-row flex-wrap", children: [
6211
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[40%]"}`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6204
6212
  ActivityBodyContent_default,
6205
6213
  {
6206
6214
  bodyMap: trueFalseBodyMap,
6207
6215
  templateType: "GROUPING"
6208
6216
  }
6209
6217
  ) }),
6210
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DividerLine_default, {}) }),
6211
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(VerticalDividerLine_default, {}) }),
6212
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6218
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DividerLine_default, {}) }),
6219
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(VerticalDividerLine_default, {}) }),
6220
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6213
6221
  TrueFalseActivityMaterialContent_default,
6214
6222
  {
6215
6223
  uniqueValue: JSON.stringify(data.contentMap),
@@ -6228,7 +6236,7 @@ var TrueFalseActivityContent_default = TrueFalseActivityContent;
6228
6236
 
6229
6237
  // src/components/activities/solution-content/ActivitySolutionContent.tsx
6230
6238
  var import_react_katex10 = require("react-katex");
6231
- var import_jsx_runtime39 = require("react/jsx-runtime");
6239
+ var import_jsx_runtime40 = require("react/jsx-runtime");
6232
6240
  var ActivitySolutionContent = ({
6233
6241
  activityTemplateType,
6234
6242
  data
@@ -6265,21 +6273,21 @@ var ActivitySolutionContent = ({
6265
6273
  const solutionMap = JSON.parse(solutionMapString);
6266
6274
  if (!solutionMap) return;
6267
6275
  if (Object.keys(solutionMap).length === 0) return;
6268
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "p-4 border-catchup-blue border-2 rounded-catchup-xlarge", children: [
6269
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("solution") }),
6276
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "p-4 border-catchup-blue border-2 rounded-catchup-xlarge", children: [
6277
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("solution") }),
6270
6278
  Object.keys(solutionMap).map((key, index) => {
6271
6279
  const currentItem = JSON.parse(solutionMap[key]);
6272
6280
  const { value } = currentItem;
6273
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "my-3", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6281
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "my-3", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6274
6282
  "span",
6275
6283
  {
6276
6284
  className: "text-xl whitespace-pre-wrap",
6277
6285
  children: constructInputWithSpecialExpressionList(value).map(
6278
- (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
6286
+ (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6279
6287
  "span",
6280
6288
  {
6281
6289
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6282
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_katex10.InlineMath, { math: inputPart.value }) }) : inputPart.value
6290
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react_katex10.InlineMath, { math: inputPart.value }) }) : inputPart.value
6283
6291
  },
6284
6292
  index2
6285
6293
  )
@@ -6296,28 +6304,28 @@ var ActivitySolutionContent_default = ActivitySolutionContent;
6296
6304
  var import_react24 = require("react");
6297
6305
 
6298
6306
  // src/components/boxes/SelectionBox.tsx
6299
- var import_jsx_runtime40 = require("react/jsx-runtime");
6307
+ var import_jsx_runtime41 = require("react/jsx-runtime");
6300
6308
  var SelectionBox = ({
6301
6309
  optionList,
6302
6310
  selectedId,
6303
6311
  handleSelectOnClick
6304
6312
  }) => {
6305
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6313
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6306
6314
  "div",
6307
6315
  {
6308
6316
  className: `${option.id === selectedId ? "border-catchup-blue-400" : "border-catchup-gray-100 hover:border-catchup-blue-500"} border-2 rounded-catchup-xlarge py-3 px-8 cursor-pointer duration-300 transition-all`,
6309
6317
  onClick: () => {
6310
6318
  handleSelectOnClick(option.id);
6311
6319
  },
6312
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
6320
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
6313
6321
  "div",
6314
6322
  {
6315
6323
  className: `flex flex-row items-center gap-x-1 ${option.id === selectedId ? "opacity-100" : "opacity-50"}`,
6316
6324
  children: [
6317
6325
  option.icon,
6318
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex-1 flex flex-col items-center", children: [
6319
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { children: option.text }),
6320
- option.subText ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("p", { className: "text-md", children: [
6326
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex-1 flex flex-col items-center", children: [
6327
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { children: option.text }),
6328
+ option.subText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("p", { className: "text-md", children: [
6321
6329
  "(",
6322
6330
  option.subText,
6323
6331
  ")"
@@ -6334,7 +6342,7 @@ var SelectionBox_default = SelectionBox;
6334
6342
 
6335
6343
  // src/components/activities/evaluation-rubric-content/ActivityEvaluationRubricContent.tsx
6336
6344
  var import_react_katex11 = require("react-katex");
6337
- var import_jsx_runtime41 = require("react/jsx-runtime");
6345
+ var import_jsx_runtime42 = require("react/jsx-runtime");
6338
6346
  var ActivityEvaluationRubricContent = ({
6339
6347
  activityTemplateType,
6340
6348
  data
@@ -6372,21 +6380,21 @@ var ActivityEvaluationRubricContent = ({
6372
6380
  const evaluationRubricMap = JSON.parse(evaluationRubricMapString);
6373
6381
  if (!evaluationRubricMap) return;
6374
6382
  if (Object.keys(evaluationRubricMap).length === 0) return;
6375
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "p-4 border-catchup-gray-400 border-2 rounded-catchup-xlarge", children: [
6376
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("evaluation_rubric") }),
6383
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mx-2", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "p-4 border-catchup-gray-400 border-2 rounded-catchup-xlarge", children: [
6384
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("evaluation_rubric") }),
6377
6385
  Object.keys(evaluationRubricMap).map((key, index) => {
6378
6386
  const currentItem = JSON.parse(evaluationRubricMap[key]);
6379
6387
  const { value } = currentItem;
6380
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "my-3", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6388
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "my-3", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6381
6389
  "span",
6382
6390
  {
6383
6391
  className: "text-xl whitespace-pre-wrap",
6384
6392
  children: constructInputWithSpecialExpressionList(value).map(
6385
- (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6393
+ (inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6386
6394
  "span",
6387
6395
  {
6388
6396
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6389
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_katex11.InlineMath, { math: inputPart.value }) }) : inputPart.value
6397
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-2xl", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_katex11.InlineMath, { math: inputPart.value }) }) : inputPart.value
6390
6398
  },
6391
6399
  index2
6392
6400
  )
@@ -6400,7 +6408,7 @@ var ActivityEvaluationRubricContent = ({
6400
6408
  var ActivityEvaluationRubricContent_default = ActivityEvaluationRubricContent;
6401
6409
 
6402
6410
  // src/components/activities/ActivityPreviewByData.tsx
6403
- var import_jsx_runtime42 = require("react/jsx-runtime");
6411
+ var import_jsx_runtime43 = require("react/jsx-runtime");
6404
6412
  var ActivityPreviewByData = ({
6405
6413
  data,
6406
6414
  showType,
@@ -6483,10 +6491,10 @@ var ActivityPreviewByData = ({
6483
6491
  }, [data, lockedType, typeOptionList, showTaxonomy]);
6484
6492
  if (!data) return;
6485
6493
  const answer = constructAnswerBasedOnData(data);
6486
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
6487
- showType ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "mb-4", children: [
6488
- showDescription ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6489
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6494
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { children: [
6495
+ showType ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "mb-4", children: [
6496
+ showDescription ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6497
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6490
6498
  SelectionBox_default,
6491
6499
  {
6492
6500
  optionList,
@@ -6497,7 +6505,7 @@ var ActivityPreviewByData = ({
6497
6505
  }
6498
6506
  )
6499
6507
  ] }) : null,
6500
- selectedType ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6508
+ selectedType ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6501
6509
  OrderingActivityContent_default,
6502
6510
  {
6503
6511
  answer,
@@ -6511,7 +6519,7 @@ var ActivityPreviewByData = ({
6511
6519
  showCorrectAnswer: true,
6512
6520
  isFullScreen
6513
6521
  }
6514
- ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6522
+ ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6515
6523
  DropdownActivityContent_default,
6516
6524
  {
6517
6525
  answer,
@@ -6525,7 +6533,7 @@ var ActivityPreviewByData = ({
6525
6533
  showCorrectAnswer: true,
6526
6534
  isFullScreen
6527
6535
  }
6528
- ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6536
+ ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6529
6537
  MCSAActivityContent_default,
6530
6538
  {
6531
6539
  answer,
@@ -6539,7 +6547,7 @@ var ActivityPreviewByData = ({
6539
6547
  showCorrectAnswer: true,
6540
6548
  isFullScreen
6541
6549
  }
6542
- ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6550
+ ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6543
6551
  MCMAActivityContent_default,
6544
6552
  {
6545
6553
  answer,
@@ -6553,7 +6561,7 @@ var ActivityPreviewByData = ({
6553
6561
  showCorrectAnswer: true,
6554
6562
  isFullScreen
6555
6563
  }
6556
- ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6564
+ ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6557
6565
  MatchingActivityContent_default,
6558
6566
  {
6559
6567
  answer,
@@ -6567,7 +6575,7 @@ var ActivityPreviewByData = ({
6567
6575
  showCorrectAnswer: true,
6568
6576
  isFullScreen
6569
6577
  }
6570
- ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6578
+ ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6571
6579
  GroupingActivityContent_default,
6572
6580
  {
6573
6581
  answer,
@@ -6581,7 +6589,7 @@ var ActivityPreviewByData = ({
6581
6589
  showCorrectAnswer: true,
6582
6590
  isFullScreen
6583
6591
  }
6584
- ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6592
+ ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6585
6593
  FillInTheBlanksActivityContent_default,
6586
6594
  {
6587
6595
  answer,
@@ -6595,7 +6603,7 @@ var ActivityPreviewByData = ({
6595
6603
  showCorrectAnswer: true,
6596
6604
  isFullScreen
6597
6605
  }
6598
- ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6606
+ ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6599
6607
  OpenEndedActivityContent_default,
6600
6608
  {
6601
6609
  answer,
@@ -6605,7 +6613,7 @@ var ActivityPreviewByData = ({
6605
6613
  data,
6606
6614
  isFullScreen
6607
6615
  }
6608
- ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6616
+ ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6609
6617
  TrueFalseActivityContent_default,
6610
6618
  {
6611
6619
  answer,
@@ -6620,14 +6628,14 @@ var ActivityPreviewByData = ({
6620
6628
  isFullScreen
6621
6629
  }
6622
6630
  ) : null }, selectedType) : null,
6623
- selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6631
+ selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6624
6632
  ActivitySolutionContent_default,
6625
6633
  {
6626
6634
  activityTemplateType: selectedType,
6627
6635
  data
6628
6636
  }
6629
6637
  ) }) : null,
6630
- selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
6638
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6631
6639
  ActivityEvaluationRubricContent_default,
6632
6640
  {
6633
6641
  activityTemplateType: selectedType,
@@ -6639,9 +6647,9 @@ var ActivityPreviewByData = ({
6639
6647
  var ActivityPreviewByData_default = ActivityPreviewByData;
6640
6648
 
6641
6649
  // src/components/dividers/BlueVerticalDividerLine.tsx
6642
- var import_jsx_runtime43 = require("react/jsx-runtime");
6650
+ var import_jsx_runtime44 = require("react/jsx-runtime");
6643
6651
  var BlueVerticalDividerLine = ({ opacity }) => {
6644
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6652
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6645
6653
  "div",
6646
6654
  {
6647
6655
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -6651,7 +6659,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
6651
6659
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
6652
6660
 
6653
6661
  // src/components/groups/LeftTextRightInputGroup.tsx
6654
- var import_jsx_runtime44 = require("react/jsx-runtime");
6662
+ var import_jsx_runtime45 = require("react/jsx-runtime");
6655
6663
  var LeftTextRightInputGroup = ({
6656
6664
  type,
6657
6665
  title,
@@ -6661,9 +6669,9 @@ var LeftTextRightInputGroup = ({
6661
6669
  disabled,
6662
6670
  errorText
6663
6671
  }) => {
6664
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "w-full flex flex-row mx-2", children: [
6665
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { children: title }) }),
6666
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
6672
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "w-full flex flex-row mx-2", children: [
6673
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { children: title }) }),
6674
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6667
6675
  InputGroup_default,
6668
6676
  {
6669
6677
  type,
@@ -6679,14 +6687,14 @@ var LeftTextRightInputGroup = ({
6679
6687
  var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
6680
6688
 
6681
6689
  // src/components/boxes/SelectionCheckbox.tsx
6682
- var import_jsx_runtime45 = require("react/jsx-runtime");
6690
+ var import_jsx_runtime46 = require("react/jsx-runtime");
6683
6691
  var SelectionCheckbox = ({
6684
6692
  optionList,
6685
6693
  selectedIdList,
6686
6694
  handleSelectOnClick,
6687
6695
  handleRemoveOnClick
6688
6696
  }) => {
6689
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6697
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6690
6698
  "div",
6691
6699
  {
6692
6700
  className: `${selectedIdList.findIndex(
@@ -6701,14 +6709,14 @@ var SelectionCheckbox = ({
6701
6709
  handleRemoveOnClick(option.id);
6702
6710
  }
6703
6711
  },
6704
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
6712
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
6705
6713
  "div",
6706
6714
  {
6707
6715
  className: `flex flex-row items-center gap-x-1 ${selectedIdList.findIndex(
6708
6716
  (selectedId) => selectedId === option.id
6709
6717
  ) > -1 ? "opacity-100" : "opacity-50"}`,
6710
6718
  children: [
6711
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6719
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6712
6720
  BaseImage_default,
6713
6721
  {
6714
6722
  src: selectedIdList.findIndex(
@@ -6718,7 +6726,7 @@ var SelectionCheckbox = ({
6718
6726
  size: "small"
6719
6727
  }
6720
6728
  ),
6721
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { children: option.text }) })
6729
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { children: option.text }) })
6722
6730
  ]
6723
6731
  }
6724
6732
  )
@@ -6729,7 +6737,7 @@ var SelectionCheckbox = ({
6729
6737
  var SelectionCheckbox_default = SelectionCheckbox;
6730
6738
 
6731
6739
  // src/components/tabs/SelectionTab.tsx
6732
- var import_jsx_runtime46 = require("react/jsx-runtime");
6740
+ var import_jsx_runtime47 = require("react/jsx-runtime");
6733
6741
  var SelectionTab = ({
6734
6742
  optionList,
6735
6743
  selectedId,
@@ -6739,7 +6747,7 @@ var SelectionTab = ({
6739
6747
  textColor,
6740
6748
  borderColor
6741
6749
  }) => {
6742
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
6750
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
6743
6751
  "div",
6744
6752
  {
6745
6753
  className: `${selectedId === option.id ? selectedTextColor ? selectedTextColor : "text-catchup-blue-500" : textColor ? textColor : "text-catchup-gray-300"} ${selectedId === option.id ? selectedBorderColor ? selectedBorderColor : "border-catchup-blue-500" : borderColor ? borderColor : "border-catchup-gray-50"} border-b-2 transition-all duration-300 p-3 cursor-pointer`,
@@ -6747,8 +6755,8 @@ var SelectionTab = ({
6747
6755
  handleSelectOnClick(option.id);
6748
6756
  },
6749
6757
  children: [
6750
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-lg", children: option.title }),
6751
- option.subTitle ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-md", children: option.subTitle }) : null
6758
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-lg", children: option.title }),
6759
+ option.subTitle ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-md", children: option.subTitle }) : null
6752
6760
  ]
6753
6761
  },
6754
6762
  index
@@ -6757,20 +6765,20 @@ var SelectionTab = ({
6757
6765
  var SelectionTab_default = SelectionTab;
6758
6766
 
6759
6767
  // src/components/tabs/SelectionTabFill.tsx
6760
- var import_jsx_runtime47 = require("react/jsx-runtime");
6768
+ var import_jsx_runtime48 = require("react/jsx-runtime");
6761
6769
  var SelectionTabFill = ({
6762
6770
  optionList,
6763
6771
  selectedId,
6764
6772
  handleSelectOnClick
6765
6773
  }) => {
6766
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6774
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
6767
6775
  "div",
6768
6776
  {
6769
6777
  className: "cursor-pointer",
6770
6778
  onClick: () => {
6771
6779
  handleSelectOnClick(option.id);
6772
6780
  },
6773
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6781
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
6774
6782
  "p",
6775
6783
  {
6776
6784
  className: `${selectedId === option.id ? "text-catchup-white bg-catchup-blue-500" : "text-catchup-gray-300"} transition-all duration-300 rounded-catchup-medium px-2 py-1`,
@@ -6784,57 +6792,57 @@ var SelectionTabFill = ({
6784
6792
  var SelectionTabFill_default = SelectionTabFill;
6785
6793
 
6786
6794
  // src/components/labels/ActivityTemplateLabel.tsx
6787
- var import_jsx_runtime48 = require("react/jsx-runtime");
6795
+ var import_jsx_runtime49 = require("react/jsx-runtime");
6788
6796
  var ActivityTemplateLabel = ({
6789
6797
  title,
6790
6798
  font
6791
6799
  }) => {
6792
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6793
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
6794
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: font ? font : "text-sm", children: title })
6800
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6801
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
6802
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: font ? font : "text-sm", children: title })
6795
6803
  ] }) });
6796
6804
  };
6797
6805
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
6798
6806
 
6799
6807
  // src/components/labels/BrandLabel.tsx
6800
- var import_jsx_runtime49 = require("react/jsx-runtime");
6808
+ var import_jsx_runtime50 = require("react/jsx-runtime");
6801
6809
  var BrandLabel = ({ title, icon, font }) => {
6802
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6803
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
6804
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: font ? font : "text-sm", children: title })
6810
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6811
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
6812
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: font ? font : "text-sm", children: title })
6805
6813
  ] }) });
6806
6814
  };
6807
6815
  var BrandLabel_default = BrandLabel;
6808
6816
 
6809
6817
  // src/components/labels/CoterieLabel.tsx
6810
- var import_jsx_runtime50 = require("react/jsx-runtime");
6818
+ var import_jsx_runtime51 = require("react/jsx-runtime");
6811
6819
  var CoterieLabel = ({ title, font }) => {
6812
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: font ? font : "text-sm", children: title }) });
6820
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: font ? font : "text-sm", children: title }) });
6813
6821
  };
6814
6822
  var CoterieLabel_default = CoterieLabel;
6815
6823
 
6816
6824
  // src/components/labels/GradeLabel.tsx
6817
- var import_jsx_runtime51 = require("react/jsx-runtime");
6825
+ var import_jsx_runtime52 = require("react/jsx-runtime");
6818
6826
  var GradeLabel = ({ title, font }) => {
6819
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: font ? font : "text-sm", children: title }) });
6827
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: font ? font : "text-sm", children: title }) });
6820
6828
  };
6821
6829
  var GradeLabel_default = GradeLabel;
6822
6830
 
6823
6831
  // src/components/labels/OutcomeLabel.tsx
6824
- var import_jsx_runtime52 = require("react/jsx-runtime");
6832
+ var import_jsx_runtime53 = require("react/jsx-runtime");
6825
6833
  var OutcomeLabel = ({ title, font }) => {
6826
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6827
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
6828
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: font ? font : "text-sm", children: title })
6834
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6835
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
6836
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: font ? font : "text-sm", children: title })
6829
6837
  ] }) });
6830
6838
  };
6831
6839
  var OutcomeLabel_default = OutcomeLabel;
6832
6840
 
6833
6841
  // src/components/labels/PersonalLabel.tsx
6834
- var import_jsx_runtime53 = require("react/jsx-runtime");
6842
+ var import_jsx_runtime54 = require("react/jsx-runtime");
6835
6843
  var PersonalLabel = ({ title, icon, font }) => {
6836
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6837
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
6844
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6845
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
6838
6846
  BaseImage_default,
6839
6847
  {
6840
6848
  src: "/icons/personal-label.webp",
@@ -6842,16 +6850,16 @@ var PersonalLabel = ({ title, icon, font }) => {
6842
6850
  size: "xsmall"
6843
6851
  }
6844
6852
  ),
6845
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: font ? font : "text-sm", children: title })
6853
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: font ? font : "text-sm", children: title })
6846
6854
  ] }) });
6847
6855
  };
6848
6856
  var PersonalLabel_default = PersonalLabel;
6849
6857
 
6850
6858
  // src/components/labels/PublishingHouseLabel.tsx
6851
- var import_jsx_runtime54 = require("react/jsx-runtime");
6859
+ var import_jsx_runtime55 = require("react/jsx-runtime");
6852
6860
  var PublishingHouseLabel = ({ title, icon, font }) => {
6853
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6854
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
6861
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
6862
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
6855
6863
  BaseImage_default,
6856
6864
  {
6857
6865
  src: "/icons/publishing-house-label.webp",
@@ -6859,79 +6867,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
6859
6867
  size: "xsmall"
6860
6868
  }
6861
6869
  ),
6862
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: font ? font : "text-sm", children: title })
6870
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: font ? font : "text-sm", children: title })
6863
6871
  ] }) });
6864
6872
  };
6865
6873
  var PublishingHouseLabel_default = PublishingHouseLabel;
6866
6874
 
6867
6875
  // src/components/labels/ActivityLabel.tsx
6868
- var import_jsx_runtime55 = require("react/jsx-runtime");
6876
+ var import_jsx_runtime56 = require("react/jsx-runtime");
6869
6877
  var ActivityLabel = ({ title, font }) => {
6870
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: font ? font : "text-sm", children: title }) });
6878
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: font ? font : "text-sm", children: title }) });
6871
6879
  };
6872
6880
  var ActivityLabel_default = ActivityLabel;
6873
6881
 
6874
6882
  // src/components/infos/InfoWithText.tsx
6875
- var import_jsx_runtime56 = require("react/jsx-runtime");
6883
+ var import_jsx_runtime57 = require("react/jsx-runtime");
6876
6884
  var InfoWithText = (props) => {
6877
6885
  const { value } = props;
6878
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
6879
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
6880
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "", children: value }) })
6886
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
6887
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
6888
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "", children: value }) })
6881
6889
  ] });
6882
6890
  };
6883
6891
  var InfoWithText_default = InfoWithText;
6884
6892
 
6885
6893
  // src/components/texts/InputWithSpecialExpression.tsx
6886
6894
  var import_react_katex12 = require("react-katex");
6887
- var import_jsx_runtime57 = require("react/jsx-runtime");
6895
+ var import_jsx_runtime58 = require("react/jsx-runtime");
6888
6896
  var InputWithSpecialExpression = ({
6889
6897
  value,
6890
6898
  showSpecialOnly
6891
6899
  }) => {
6892
6900
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
6893
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6901
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6894
6902
  "span",
6895
6903
  {
6896
6904
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6897
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
6905
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
6898
6906
  }
6899
- )) }) }) : null : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6907
+ )) }) }) : null : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6900
6908
  "span",
6901
6909
  {
6902
6910
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6903
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
6911
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
6904
6912
  }
6905
6913
  )) }) });
6906
6914
  };
6907
6915
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
6908
6916
 
6909
6917
  // src/components/titles/BaseTitle.tsx
6910
- var import_jsx_runtime58 = require("react/jsx-runtime");
6918
+ var import_jsx_runtime59 = require("react/jsx-runtime");
6911
6919
  var BaseTitle = ({
6912
6920
  title,
6913
6921
  totalItemCount,
6914
6922
  itemName,
6915
6923
  description
6916
6924
  }) => {
6917
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
6918
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("p", { className: "text-2xl font-medium", children: [
6925
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
6926
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("p", { className: "text-2xl font-medium", children: [
6919
6927
  title,
6920
- totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
6928
+ totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
6921
6929
  totalItemCount,
6922
6930
  " ",
6923
6931
  itemName
6924
6932
  ] }) : null
6925
6933
  ] }),
6926
- description ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "", children: description }) : null
6934
+ description ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "", children: description }) : null
6927
6935
  ] });
6928
6936
  };
6929
6937
  var BaseTitle_default = BaseTitle;
6930
6938
 
6931
6939
  // src/components/titles/SubTitle.tsx
6932
- var import_jsx_runtime59 = require("react/jsx-runtime");
6940
+ var import_jsx_runtime60 = require("react/jsx-runtime");
6933
6941
  var SubTitle = ({ title }) => {
6934
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
6942
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
6935
6943
  };
6936
6944
  var SubTitle_default = SubTitle;
6937
6945
 
@@ -9089,40 +9097,40 @@ var retrieveOutcomePlanTypeOptionList = () => {
9089
9097
  var retrieveTeachingMethodologyOptionList = () => {
9090
9098
  return [
9091
9099
  {
9092
- value: "FIVE_E_LEARNING",
9093
- text: i18n_default.t("FIVE_E_LEARNING")
9100
+ value: "FIVE_E_LEARNING_MODEL",
9101
+ text: i18n_default.t("FIVE_E_LEARNING_MODEL")
9094
9102
  },
9095
9103
  {
9096
- value: "STEM",
9097
- text: i18n_default.t("STEM")
9104
+ value: "STEM_LEARNING_MODEL",
9105
+ text: i18n_default.t("STEM_LEARNING_MODEL")
9098
9106
  },
9099
9107
  {
9100
- value: "ARGUMENTATION",
9101
- text: i18n_default.t("ARGUMENTATION")
9108
+ value: "ARGUMENTATION_BASED_LEARNING_APPROACH",
9109
+ text: i18n_default.t("ARGUMENTATION_BASED_LEARNING_APPROACH")
9102
9110
  },
9103
9111
  {
9104
- value: "GEMS_BASED_APPROACH",
9105
- text: i18n_default.t("GEMS_BASED_APPROACH")
9112
+ value: "GEMS_BASED_LEARNING_APPROACH",
9113
+ text: i18n_default.t("GEMS_BASED_LEARNING_APPROACH")
9106
9114
  },
9107
9115
  {
9108
- value: "PROBLEM_BASED_LEARNING",
9109
- text: i18n_default.t("PROBLEM_BASED_LEARNING")
9116
+ value: "PROBLEM_BASED_LEARNING_APPROACH",
9117
+ text: i18n_default.t("PROBLEM_BASED_LEARNING_APPROACH")
9110
9118
  },
9111
9119
  {
9112
- value: "PROJECT_BASED_LEARNING",
9113
- text: i18n_default.t("PROJECT_BASED_LEARNING")
9120
+ value: "PROJECT_BASED_LEARNING_APPROACH",
9121
+ text: i18n_default.t("PROJECT_BASED_LEARNING_APPROACH")
9114
9122
  },
9115
9123
  {
9116
- value: "INQUIRY_BASED_LEARNING",
9117
- text: i18n_default.t("INQUIRY_BASED_LEARNING")
9124
+ value: "INQUIRY_BASED_LEARNING_APPROACH",
9125
+ text: i18n_default.t("INQUIRY_BASED_LEARNING_APPROACH")
9118
9126
  },
9119
9127
  {
9120
- value: "SOCIAL_EMOTIONAL_LEARNING",
9121
- text: i18n_default.t("SOCIAL_EMOTIONAL_LEARNING")
9128
+ value: "SOCIAL_EMOTIONAL_LEARNING_APPROACH",
9129
+ text: i18n_default.t("SOCIAL_EMOTIONAL_LEARNING_APPROACH")
9122
9130
  },
9123
9131
  {
9124
- value: "KINESTHETIC_LEARNING",
9125
- text: i18n_default.t("KINESTHETIC_LEARNING")
9132
+ value: "KINESTHETIC_LEARNING_STYLE",
9133
+ text: i18n_default.t("KINESTHETIC_LEARNING_STYLE")
9126
9134
  },
9127
9135
  {
9128
9136
  value: "COMMON_KNOWLEDGE_STRUCTURING_MODEL",
@@ -9149,8 +9157,8 @@ var retrieveTeachingMethodologyOptionList = () => {
9149
9157
  text: i18n_default.t("PROCESS_BASED_TEACHING_APPROACH")
9150
9158
  },
9151
9159
  {
9152
- value: "SIX_THINKING_HATS",
9153
- text: i18n_default.t("SIX_THINKING_HATS")
9160
+ value: "SIX_THINKING_HATS_THINKING_METHOD",
9161
+ text: i18n_default.t("SIX_THINKING_HATS_THINKING_METHOD")
9154
9162
  },
9155
9163
  {
9156
9164
  value: "CONSTRUCTIVIST_LEARNING_APPROACH",
@@ -9169,8 +9177,8 @@ var retrieveTeachingMethodologyOptionList = () => {
9169
9177
  var retrieveActivityMethodologyOptionList = () => {
9170
9178
  return [
9171
9179
  {
9172
- value: "STEM",
9173
- text: i18n_default.t("STEM")
9180
+ value: "STEM_LEARNING_MODEL",
9181
+ text: i18n_default.t("STEM_LEARNING_MODEL")
9174
9182
  },
9175
9183
  {
9176
9184
  value: "EXPERIMENT_AND_OBSERVATION",
@@ -9265,6 +9273,7 @@ var retrieveActivityMethodologyOptionList = () => {
9265
9273
  // Annotate the CommonJS export names for ESM import in node:
9266
9274
  0 && (module.exports = {
9267
9275
  ActivityBodyContent,
9276
+ ActivityEmptyContent,
9268
9277
  ActivityLabel,
9269
9278
  ActivityPreviewByData,
9270
9279
  ActivitySolutionContent,