catchup-library-web 1.16.12 → 1.17.0

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.mjs CHANGED
@@ -841,16 +841,20 @@ var ApproveButton_default = ApproveButton;
841
841
  // src/components/cards/FullCard.tsx
842
842
  import { jsx as jsx12 } from "react/jsx-runtime";
843
843
  var FullCard = ({
844
- bgColor,
844
+ backgroundColor,
845
+ borderColor,
845
846
  opacity,
846
- isShadowed,
847
847
  usePadding,
848
848
  children
849
849
  }) => {
850
- return /* @__PURE__ */ jsx12("div", { className: "flex flex-col justify-center items-center h-full", children: /* @__PURE__ */ jsx12(
850
+ return /* @__PURE__ */ jsx12(
851
851
  "div",
852
852
  {
853
- className: `flex-1 ${bgColor ? bgColor : ""} ${opacity ? opacity : "opacity-100"} rounded-catchup-xlarge w-full border border-catchup-gray-50 bg-catchup-white`,
853
+ className: `min-h-full
854
+ ${backgroundColor ? backgroundColor : "bg-catchup-white"}
855
+ ${borderColor ? borderColor : "border-catchup-gray-50"}
856
+ ${opacity ? opacity : "opacity-100"}
857
+ rounded-catchup-xlarge w-full `,
854
858
  children: /* @__PURE__ */ jsx12(
855
859
  "div",
856
860
  {
@@ -859,10 +863,17 @@ var FullCard = ({
859
863
  }
860
864
  )
861
865
  }
862
- ) });
866
+ );
863
867
  };
864
868
  var FullCard_default = FullCard;
865
869
 
870
+ // src/components/cards/BaseCard.tsx
871
+ import { jsx as jsx13 } from "react/jsx-runtime";
872
+ var BaseCard = ({ children }) => {
873
+ return /* @__PURE__ */ jsx13("div", { className: "flex flex-col justify-center items-center h-full", children: /* @__PURE__ */ jsx13("div", { className: "bg-catchup-white rounded-catchup-xlarge h-catchup-card w-catchup-card shadow-dropdown", children: /* @__PURE__ */ jsx13("div", { className: "flex flex-col mx-auto p-8 h-full", children }) }) });
874
+ };
875
+ var BaseCard_default = BaseCard;
876
+
866
877
  // src/components/loading/BaseLoadingWithText.tsx
867
878
  import { useEffect as useEffect2, useState as useState9 } from "react";
868
879
 
@@ -873,7 +884,7 @@ i18n.use(initReactI18next);
873
884
  var i18n_default = i18n;
874
885
 
875
886
  // src/components/loading/BaseLoadingWithText.tsx
876
- import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
887
+ import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
877
888
  var BaseLoadingWithText = (props) => {
878
889
  const { height, width, size, primaryColor, secondaryColor, hideText } = props;
879
890
  const [initialTimestamp, setInitialTimestamp] = useState9(
@@ -922,7 +933,7 @@ var BaseLoadingWithText = (props) => {
922
933
  }
923
934
  const loadingText = retrieveLoadingText();
924
935
  return /* @__PURE__ */ jsxs9("div", { className: "flex flex-col justify-center items-center", children: [
925
- /* @__PURE__ */ jsx13(
936
+ /* @__PURE__ */ jsx14(
926
937
  BaseLoading_default,
927
938
  {
928
939
  height,
@@ -932,12 +943,12 @@ var BaseLoadingWithText = (props) => {
932
943
  secondaryColor
933
944
  }
934
945
  ),
935
- !hideText && size !== "small" ? /* @__PURE__ */ jsx13(
946
+ !hideText && size !== "small" ? /* @__PURE__ */ jsx14(
936
947
  "div",
937
948
  {
938
949
  className: `${textClassName} text-center`,
939
950
  style: { width: textWidth },
940
- children: /* @__PURE__ */ jsx13("p", { className: "font-bold", children: loadingText })
951
+ children: /* @__PURE__ */ jsx14("p", { className: "font-bold", children: loadingText })
941
952
  }
942
953
  ) : null
943
954
  ] });
@@ -946,7 +957,7 @@ var BaseLoadingWithText_default = BaseLoadingWithText;
946
957
 
947
958
  // src/components/modals/BaseModal.tsx
948
959
  import Modal from "react-modal";
949
- import { jsx as jsx14 } from "react/jsx-runtime";
960
+ import { jsx as jsx15 } from "react/jsx-runtime";
950
961
  var BaseModal = ({
951
962
  isOpen,
952
963
  size,
@@ -955,7 +966,7 @@ var BaseModal = ({
955
966
  customSize,
956
967
  children
957
968
  }) => {
958
- return /* @__PURE__ */ jsx14(
969
+ return /* @__PURE__ */ jsx15(
959
970
  Modal,
960
971
  {
961
972
  isOpen,
@@ -983,7 +994,7 @@ var BaseModal = ({
983
994
  }
984
995
  },
985
996
  contentLabel: "",
986
- children: customSize ? /* @__PURE__ */ jsx14("div", { className: `${customSize} font-quicksand`, children }) : /* @__PURE__ */ jsx14(
997
+ children: customSize ? /* @__PURE__ */ jsx15("div", { className: `${customSize} font-quicksand`, children }) : /* @__PURE__ */ jsx15(
987
998
  "div",
988
999
  {
989
1000
  className: `font-quicksand ${size === "small" ? "w-[600px]" : size === "medium" ? "w-[900px]" : "w-[600px] lg:w-[900px] xl:w-[1200px] 2xl:w-[1500px]"}`,
@@ -998,7 +1009,7 @@ var BaseModal_default = BaseModal;
998
1009
  // src/components/pdfs/BasePDF.tsx
999
1010
  import { useState as useState10 } from "react";
1000
1011
  import { Document, Page } from "react-pdf";
1001
- import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
1012
+ import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
1002
1013
  var BasePDF = ({ file }) => {
1003
1014
  const [pageNumber, setPageNumber] = useState10(1);
1004
1015
  const [numberOfPages, setNumberOfPages] = useState10(0);
@@ -1007,9 +1018,9 @@ var BasePDF = ({ file }) => {
1007
1018
  setNumberOfPages(numPages);
1008
1019
  };
1009
1020
  return /* @__PURE__ */ jsxs10(Document, { file, onLoadSuccess: handleOnDocumentLoadSuccess, children: [
1010
- /* @__PURE__ */ jsx15(Page, { pageNumber }),
1021
+ /* @__PURE__ */ jsx16(Page, { pageNumber }),
1011
1022
  /* @__PURE__ */ jsxs10("div", { className: "flex flex-row items-center justify-center", children: [
1012
- pageNumber === 1 ? null : /* @__PURE__ */ jsx15("div", { className: "px-2", children: /* @__PURE__ */ jsx15("div", { className: "cursor-pointer", children: /* @__PURE__ */ jsx15(
1023
+ pageNumber === 1 ? null : /* @__PURE__ */ jsx16("div", { className: "px-2", children: /* @__PURE__ */ jsx16("div", { className: "cursor-pointer", children: /* @__PURE__ */ jsx16(
1013
1024
  BaseImage_default,
1014
1025
  {
1015
1026
  alt: "arrow-left",
@@ -1020,7 +1031,7 @@ var BasePDF = ({ file }) => {
1020
1031
  }
1021
1032
  }
1022
1033
  ) }) }),
1023
- Array.from(Array(numberOfPages).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx15("div", { className: "px-2", children: /* @__PURE__ */ jsx15(
1034
+ Array.from(Array(numberOfPages).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx16("div", { className: "px-2", children: /* @__PURE__ */ jsx16(
1024
1035
  "p",
1025
1036
  {
1026
1037
  className: `${pageNumber === index + 1 ? "text-2xl" : "text-md"} cursor-pointer`,
@@ -1030,7 +1041,7 @@ var BasePDF = ({ file }) => {
1030
1041
  children: index + 1
1031
1042
  }
1032
1043
  ) }, index)),
1033
- numberOfPages === 0 || pageNumber === numberOfPages ? null : /* @__PURE__ */ jsx15("div", { className: "px-2", children: /* @__PURE__ */ jsx15("div", { className: "cursor-pointer", children: /* @__PURE__ */ jsx15(
1044
+ numberOfPages === 0 || pageNumber === numberOfPages ? null : /* @__PURE__ */ jsx16("div", { className: "px-2", children: /* @__PURE__ */ jsx16("div", { className: "cursor-pointer", children: /* @__PURE__ */ jsx16(
1034
1045
  BaseImage_default,
1035
1046
  {
1036
1047
  src: "/icons/arrow-right.webp",
@@ -1047,9 +1058,9 @@ var BasePDF = ({ file }) => {
1047
1058
  var BasePDF_default = BasePDF;
1048
1059
 
1049
1060
  // src/components/activities/empty-content/ActivityEmptyContent.tsx
1050
- import { jsx as jsx16 } from "react/jsx-runtime";
1061
+ import { jsx as jsx17 } from "react/jsx-runtime";
1051
1062
  var ActivityEmptyContent = () => {
1052
- return /* @__PURE__ */ jsx16("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__ */ jsx16("div", { className: "", children: /* @__PURE__ */ jsx16("p", { className: "text-catchup-white text-xl", children: i18n_default.t("you_have_set_this_activity_as_empty") }) }) });
1063
+ return /* @__PURE__ */ jsx17("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__ */ jsx17("div", { className: "", children: /* @__PURE__ */ jsx17("p", { className: "text-catchup-white text-xl", children: i18n_default.t("you_have_set_this_activity_as_empty") }) }) });
1053
1064
  };
1054
1065
  var ActivityEmptyContent_default = ActivityEmptyContent;
1055
1066
 
@@ -3138,7 +3149,7 @@ var retrieveOpticalExamPartTypeOptionList = () => {
3138
3149
 
3139
3150
  // src/components/activities/body-content/ShowBodyMediaByContentType.tsx
3140
3151
  import { InlineMath } from "react-katex";
3141
- import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
3152
+ import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
3142
3153
  var ShowBodyMediaByContentType = ({
3143
3154
  index,
3144
3155
  type,
@@ -3160,11 +3171,11 @@ var ShowBodyMediaByContentType = ({
3160
3171
  }
3161
3172
  };
3162
3173
  const renderSpecialExpressions = (inputPart, inputPartIndex) => {
3163
- return /* @__PURE__ */ jsx17(
3174
+ return /* @__PURE__ */ jsx18(
3164
3175
  "span",
3165
3176
  {
3166
3177
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
3167
- children: inputPart.isEquation ? /* @__PURE__ */ jsx17("span", { className: "text-2xl", children: /* @__PURE__ */ jsx17(InlineMath, { math: inputPart.value }) }) : inputPart.value
3178
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx18("span", { className: "text-2xl", children: /* @__PURE__ */ jsx18(InlineMath, { math: inputPart.value }) }) : inputPart.value
3168
3179
  },
3169
3180
  inputPartIndex
3170
3181
  );
@@ -3184,7 +3195,7 @@ var ShowBodyMediaByContentType = ({
3184
3195
  };
3185
3196
  const renderTextContent = (text, itemKey) => {
3186
3197
  const balancedText = balanceSpecialChars(text);
3187
- return /* @__PURE__ */ jsx17("span", { className: "text-xl", children: constructInputWithSpecialExpressionList(balancedText).map(
3198
+ return /* @__PURE__ */ jsx18("span", { className: "text-xl", children: constructInputWithSpecialExpressionList(balancedText).map(
3188
3199
  (inputPart, inputPartIndex) => renderSpecialExpressions(inputPart, inputPartIndex)
3189
3200
  ) }, itemKey);
3190
3201
  };
@@ -3217,7 +3228,7 @@ var ShowBodyMediaByContentType = ({
3217
3228
  currentIndex++;
3218
3229
  const itemKey = `text-inside-${index}-${currentIndex}`;
3219
3230
  valuePartList.push(
3220
- /* @__PURE__ */ jsx17("span", { className: "text-xl font-bold", children: constructInputWithSpecialExpressionList(textInsideTag).map(
3231
+ /* @__PURE__ */ jsx18("span", { className: "text-xl font-bold", children: constructInputWithSpecialExpressionList(textInsideTag).map(
3221
3232
  (inputPart, inputPartIndex) => renderSpecialExpressions(inputPart, inputPartIndex)
3222
3233
  ) }, itemKey)
3223
3234
  );
@@ -3237,7 +3248,7 @@ var ShowBodyMediaByContentType = ({
3237
3248
  if (textBeforeTag.trim() !== "") {
3238
3249
  currentIndex++;
3239
3250
  valuePartList.push(
3240
- /* @__PURE__ */ jsx17(
3251
+ /* @__PURE__ */ jsx18(
3241
3252
  "p",
3242
3253
  {
3243
3254
  className: "text-xl",
@@ -3261,7 +3272,7 @@ var ShowBodyMediaByContentType = ({
3261
3272
  {
3262
3273
  className: "relative w-[200px]",
3263
3274
  children: [
3264
- /* @__PURE__ */ jsx17(
3275
+ /* @__PURE__ */ jsx18(
3265
3276
  BaseImage_default,
3266
3277
  {
3267
3278
  src: imageSource,
@@ -3270,12 +3281,12 @@ var ShowBodyMediaByContentType = ({
3270
3281
  className: "rounded-catchup-xlarge"
3271
3282
  }
3272
3283
  ),
3273
- /* @__PURE__ */ jsx17(
3284
+ /* @__PURE__ */ jsx18(
3274
3285
  "div",
3275
3286
  {
3276
3287
  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",
3277
3288
  onClick: () => handleOpenFullScreen(imageSource),
3278
- children: /* @__PURE__ */ jsx17(
3289
+ children: /* @__PURE__ */ jsx18(
3279
3290
  BaseImage_default,
3280
3291
  {
3281
3292
  src: "/icons/arrow-up.webp",
@@ -3304,7 +3315,7 @@ var ShowBodyMediaByContentType = ({
3304
3315
  if (textBeforeTag.trim() !== "") {
3305
3316
  currentIndex++;
3306
3317
  valuePartList.push(
3307
- /* @__PURE__ */ jsx17(
3318
+ /* @__PURE__ */ jsx18(
3308
3319
  "p",
3309
3320
  {
3310
3321
  className: "text-xl",
@@ -3323,7 +3334,7 @@ var ShowBodyMediaByContentType = ({
3323
3334
  );
3324
3335
  currentIndex++;
3325
3336
  valuePartList.push(
3326
- /* @__PURE__ */ jsx17(
3337
+ /* @__PURE__ */ jsx18(
3327
3338
  "video",
3328
3339
  {
3329
3340
  src: videoSource,
@@ -3346,7 +3357,7 @@ var ShowBodyMediaByContentType = ({
3346
3357
  if (textBeforeTag.trim() !== "") {
3347
3358
  currentIndex++;
3348
3359
  valuePartList.push(
3349
- /* @__PURE__ */ jsx17(
3360
+ /* @__PURE__ */ jsx18(
3350
3361
  "p",
3351
3362
  {
3352
3363
  className: "text-xl",
@@ -3365,7 +3376,7 @@ var ShowBodyMediaByContentType = ({
3365
3376
  );
3366
3377
  currentIndex++;
3367
3378
  valuePartList.push(
3368
- /* @__PURE__ */ jsx17(
3379
+ /* @__PURE__ */ jsx18(
3369
3380
  "audio",
3370
3381
  {
3371
3382
  src: audioSource,
@@ -3396,8 +3407,8 @@ var ShowBodyMediaByContentType = ({
3396
3407
  {
3397
3408
  className: "bg-catchup-gray-50 relative px-4 py-4 rounded-catchup-small mt-2",
3398
3409
  children: [
3399
- /* @__PURE__ */ jsx17("div", { className: "absolute -top-3 bg-catchup-white border rounded-catchup-small px-2 left-2", children: /* @__PURE__ */ jsx17("p", { className: "font-bold", children: i18n_default.t("image_description") }) }),
3400
- /* @__PURE__ */ jsx17("span", { className: "text-xl", children: imageText })
3410
+ /* @__PURE__ */ jsx18("div", { className: "absolute -top-3 bg-catchup-white border rounded-catchup-small px-2 left-2", children: /* @__PURE__ */ jsx18("p", { className: "font-bold", children: i18n_default.t("image_description") }) }),
3411
+ /* @__PURE__ */ jsx18("span", { className: "text-xl", children: imageText })
3401
3412
  ]
3402
3413
  },
3403
3414
  `img-desc-${index}-${currentIndex}`
@@ -3411,7 +3422,7 @@ var ShowBodyMediaByContentType = ({
3411
3422
  return valuePartList;
3412
3423
  };
3413
3424
  const RenderShowFullScreenItem = () => {
3414
- return /* @__PURE__ */ jsx17(
3425
+ return /* @__PURE__ */ jsx18(
3415
3426
  Modal2,
3416
3427
  {
3417
3428
  isOpen: showFullScreen,
@@ -3441,7 +3452,7 @@ var ShowBodyMediaByContentType = ({
3441
3452
  },
3442
3453
  contentLabel: "Image Fullscreen View",
3443
3454
  children: /* @__PURE__ */ jsxs11("div", { className: "flex-1 flex flex-col", children: [
3444
- /* @__PURE__ */ jsx17("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx17(
3455
+ /* @__PURE__ */ jsx18("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx18(
3445
3456
  BaseImage_default,
3446
3457
  {
3447
3458
  src: "/icons/cross-red.webp",
@@ -3453,7 +3464,7 @@ var ShowBodyMediaByContentType = ({
3453
3464
  }
3454
3465
  }
3455
3466
  ) }),
3456
- /* @__PURE__ */ jsx17("div", { className: "flex items-center justify-center h-[500]", children: /* @__PURE__ */ jsx17(
3467
+ /* @__PURE__ */ jsx18("div", { className: "flex items-center justify-center h-[500]", children: /* @__PURE__ */ jsx18(
3457
3468
  BaseImage_default,
3458
3469
  {
3459
3470
  src: selectedFullScreenItem,
@@ -3469,30 +3480,30 @@ var ShowBodyMediaByContentType = ({
3469
3480
  const RenderMainContent = () => {
3470
3481
  switch (type) {
3471
3482
  case "TEXT":
3472
- return /* @__PURE__ */ jsx17("div", { className: "mb-1 flex flex-row flex-wrap items-center mx-auto w-full", children: /* @__PURE__ */ jsx17("p", { className: "whitespace-pre-wrap", children: retrieveValueParts(value) }) });
3483
+ return /* @__PURE__ */ jsx18("div", { className: "mb-1 flex flex-row flex-wrap items-center mx-auto w-full", children: /* @__PURE__ */ jsx18("p", { className: "whitespace-pre-wrap", children: retrieveValueParts(value) }) });
3473
3484
  case "IMAGE":
3474
- return /* @__PURE__ */ jsx17("div", { className: "mb-1 flex flex-col items-center relative", children: /* @__PURE__ */ jsxs11(
3485
+ return /* @__PURE__ */ jsx18("div", { className: "mb-1 flex flex-col items-center relative", children: /* @__PURE__ */ jsxs11(
3475
3486
  "div",
3476
3487
  {
3477
3488
  className: `${convertToPercentage(
3478
- size || ""
3489
+ size
3479
3490
  )} rounded-catchup-xlarge relative`,
3480
3491
  children: [
3481
- /* @__PURE__ */ jsx17(
3492
+ /* @__PURE__ */ jsx18(
3482
3493
  BaseImage_default,
3483
3494
  {
3484
3495
  src: value,
3485
- alt: "body image",
3496
+ alt: "body-image",
3486
3497
  size: "custom",
3487
3498
  className: "w-full rounded-catchup-xlarge"
3488
3499
  }
3489
3500
  ),
3490
- /* @__PURE__ */ jsx17(
3501
+ /* @__PURE__ */ jsx18(
3491
3502
  "div",
3492
3503
  {
3493
3504
  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",
3494
3505
  onClick: () => handleOpenFullScreen(value),
3495
- children: /* @__PURE__ */ jsx17(
3506
+ children: /* @__PURE__ */ jsx18(
3496
3507
  BaseImage_default,
3497
3508
  {
3498
3509
  src: "/icons/arrow-up.webp",
@@ -3507,7 +3518,7 @@ var ShowBodyMediaByContentType = ({
3507
3518
  }
3508
3519
  ) });
3509
3520
  case "VIDEO":
3510
- return /* @__PURE__ */ jsx17("div", { className: "mb-1 flex flex-col items-center", children: /* @__PURE__ */ jsx17(
3521
+ return /* @__PURE__ */ jsx18("div", { className: "mb-1 flex flex-col items-center", children: /* @__PURE__ */ jsx18(
3511
3522
  "video",
3512
3523
  {
3513
3524
  src: value,
@@ -3518,7 +3529,7 @@ var ShowBodyMediaByContentType = ({
3518
3529
  }
3519
3530
  ) });
3520
3531
  case "AUDIO":
3521
- return /* @__PURE__ */ jsx17("div", { className: "mb-1 flex flex-col items-center", children: /* @__PURE__ */ jsx17("audio", { src: value, controls: true, className: "rounded-catchup-xlarge" }) });
3532
+ return /* @__PURE__ */ jsx18("div", { className: "mb-1 flex flex-col items-center", children: /* @__PURE__ */ jsx18("audio", { src: value, controls: true, className: "rounded-catchup-xlarge" }) });
3522
3533
  default:
3523
3534
  return null;
3524
3535
  }
@@ -3531,7 +3542,7 @@ var ShowBodyMediaByContentType = ({
3531
3542
  var ShowBodyMediaByContentType_default = ShowBodyMediaByContentType;
3532
3543
 
3533
3544
  // src/components/activities/body-content/ActivityBodyContent.tsx
3534
- import { jsx as jsx18 } from "react/jsx-runtime";
3545
+ import { jsx as jsx19 } from "react/jsx-runtime";
3535
3546
  var ActivityBodyContent = ({
3536
3547
  templateType,
3537
3548
  bodyMap,
@@ -3612,7 +3623,7 @@ var ActivityBodyContent = ({
3612
3623
  key
3613
3624
  });
3614
3625
  }).filter(Boolean);
3615
- return /* @__PURE__ */ jsx18("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx18(
3626
+ return /* @__PURE__ */ jsx19("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx19(
3616
3627
  ShowBodyMediaByContentType_default,
3617
3628
  {
3618
3629
  index,
@@ -3626,16 +3637,16 @@ var ActivityBodyContent = ({
3626
3637
  var ActivityBodyContent_default = ActivityBodyContent;
3627
3638
 
3628
3639
  // src/components/dividers/DividerLine.tsx
3629
- import { jsx as jsx19 } from "react/jsx-runtime";
3640
+ import { jsx as jsx20 } from "react/jsx-runtime";
3630
3641
  var DividerLine = () => {
3631
- return /* @__PURE__ */ jsx19("div", { className: "bg-catchup-gray-50 h-[1px] w-full my-3" });
3642
+ return /* @__PURE__ */ jsx20("div", { className: "bg-catchup-gray-50 h-[1px] w-full my-3" });
3632
3643
  };
3633
3644
  var DividerLine_default = DividerLine;
3634
3645
 
3635
3646
  // src/components/dividers/VerticalDividerLine.tsx
3636
- import { jsx as jsx20 } from "react/jsx-runtime";
3647
+ import { jsx as jsx21 } from "react/jsx-runtime";
3637
3648
  var VerticalDividerLine = () => {
3638
- return /* @__PURE__ */ jsx20("div", { className: "bg-catchup-gray-50 h-full w-[1px] mx-3" });
3649
+ return /* @__PURE__ */ jsx21("div", { className: "bg-catchup-gray-50 h-full w-[1px] mx-3" });
3639
3650
  };
3640
3651
  var VerticalDividerLine_default = VerticalDividerLine;
3641
3652
 
@@ -3645,7 +3656,7 @@ import { InlineMath as InlineMath2 } from "react-katex";
3645
3656
  // src/components/groups/InputGroup.tsx
3646
3657
  import Select from "react-select";
3647
3658
  import { useEffect as useEffect3, useRef, useState as useState12, useCallback } from "react";
3648
- import { Fragment, jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
3659
+ import { Fragment, jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
3649
3660
  var InputGroup = ({
3650
3661
  type,
3651
3662
  title,
@@ -3747,7 +3758,7 @@ var InputGroup = ({
3747
3758
  setShowMathConstructor(true);
3748
3759
  };
3749
3760
  const MathConstructorModal = () => {
3750
- return /* @__PURE__ */ jsx21(
3761
+ return /* @__PURE__ */ jsx22(
3751
3762
  BaseModal_default,
3752
3763
  {
3753
3764
  isOpen: showMathConstructor,
@@ -3757,10 +3768,10 @@ var InputGroup = ({
3757
3768
  onRequestClose: () => {
3758
3769
  setShowMathConstructor(false);
3759
3770
  },
3760
- children: /* @__PURE__ */ jsx21(FullCard_default, { children: /* @__PURE__ */ jsx21("div", { className: "bg-white rounded-lg overflow-hidden", children: /* @__PURE__ */ jsxs12("div", { className: "p-6 space-y-6", children: [
3771
+ children: /* @__PURE__ */ jsx22(FullCard_default, { children: /* @__PURE__ */ jsx22("div", { className: "bg-white rounded-lg overflow-hidden", children: /* @__PURE__ */ jsxs12("div", { className: "p-6 space-y-6", children: [
3761
3772
  /* @__PURE__ */ jsxs12("div", { children: [
3762
- /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: i18n_default.t("math_editor") }),
3763
- /* @__PURE__ */ jsx21("div", { className: "border border-catchup-gray-100 rounded-catchup-large focus-within:border-catchup-blue-400 focus-within:shadow-input", children: /* @__PURE__ */ jsx21(
3773
+ /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: i18n_default.t("math_editor") }),
3774
+ /* @__PURE__ */ jsx22("div", { className: "border border-catchup-gray-100 rounded-catchup-large focus-within:border-catchup-blue-400 focus-within:shadow-input", children: /* @__PURE__ */ jsx22(
3764
3775
  "math-field",
3765
3776
  {
3766
3777
  ref: mathFieldRef,
@@ -3788,9 +3799,9 @@ var InputGroup = ({
3788
3799
  ) })
3789
3800
  ] }),
3790
3801
  /* @__PURE__ */ jsxs12("div", { children: [
3791
- /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: i18n_default.t("latex_output") }),
3802
+ /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: i18n_default.t("latex_output") }),
3792
3803
  /* @__PURE__ */ jsxs12("div", { className: "relative", children: [
3793
- /* @__PURE__ */ jsx21(
3804
+ /* @__PURE__ */ jsx22(
3794
3805
  "textarea",
3795
3806
  {
3796
3807
  ref: latexTextAreaRef,
@@ -3800,7 +3811,7 @@ var InputGroup = ({
3800
3811
  placeholder: i18n_default.t("latex_will_appear_here")
3801
3812
  }
3802
3813
  ),
3803
- /* @__PURE__ */ jsx21(
3814
+ /* @__PURE__ */ jsx22(
3804
3815
  "button",
3805
3816
  {
3806
3817
  onClick: handleCopyLatex,
@@ -3822,7 +3833,7 @@ var InputGroup = ({
3822
3833
  className: "flex flex-row items-center gap-x-1 cursor-pointer",
3823
3834
  onClick,
3824
3835
  children: [
3825
- /* @__PURE__ */ jsx21(
3836
+ /* @__PURE__ */ jsx22(
3826
3837
  BaseImage_default,
3827
3838
  {
3828
3839
  src: value ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -3832,15 +3843,15 @@ var InputGroup = ({
3832
3843
  }
3833
3844
  }
3834
3845
  ),
3835
- /* @__PURE__ */ jsx21("p", { className: "", children: title })
3846
+ /* @__PURE__ */ jsx22("p", { className: "", children: title })
3836
3847
  ]
3837
3848
  }
3838
3849
  );
3839
3850
  };
3840
3851
  const FileInputGroup = () => {
3841
3852
  return /* @__PURE__ */ jsxs12("div", { className: "my-1", children: [
3842
- title ? /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3843
- /* @__PURE__ */ jsx21(
3853
+ title ? /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3854
+ /* @__PURE__ */ jsx22(
3844
3855
  "input",
3845
3856
  {
3846
3857
  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",
@@ -3858,8 +3869,8 @@ var InputGroup = ({
3858
3869
  };
3859
3870
  const DateInputGroup = () => {
3860
3871
  return /* @__PURE__ */ jsxs12("div", { className: "my-1", children: [
3861
- title ? /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3862
- /* @__PURE__ */ jsx21(
3872
+ title ? /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3873
+ /* @__PURE__ */ jsx22(
3863
3874
  "input",
3864
3875
  {
3865
3876
  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`,
@@ -3875,8 +3886,8 @@ var InputGroup = ({
3875
3886
  };
3876
3887
  const SearchableSelectInputGroup = () => {
3877
3888
  return /* @__PURE__ */ jsxs12("div", { className: "my-1", children: [
3878
- title ? /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400 ", children: title }) : null,
3879
- /* @__PURE__ */ jsx21(
3889
+ title ? /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400 ", children: title }) : null,
3890
+ /* @__PURE__ */ jsx22(
3880
3891
  Select,
3881
3892
  {
3882
3893
  options: convertOptionListToSelectComponent(
@@ -3941,14 +3952,14 @@ var InputGroup = ({
3941
3952
  const TextAreaInputGroup = () => {
3942
3953
  return /* @__PURE__ */ jsxs12("div", { className: "my-1 flex-1 flex flex-col relative", children: [
3943
3954
  /* @__PURE__ */ jsxs12("div", { className: "flex flex-row justify-between items-center", children: [
3944
- /* @__PURE__ */ jsx21("div", { children: title ? /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null }),
3945
- /* @__PURE__ */ jsx21("div", { children: value && limit ? /* @__PURE__ */ jsxs12("p", { className: "text-md font-semibold pr-2 py-1 text-catchup-gray-400", children: [
3955
+ /* @__PURE__ */ jsx22("div", { children: title ? /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null }),
3956
+ /* @__PURE__ */ jsx22("div", { children: value && limit ? /* @__PURE__ */ jsxs12("p", { className: "text-md font-semibold pr-2 py-1 text-catchup-gray-400", children: [
3946
3957
  value.length,
3947
3958
  " / ",
3948
3959
  limit
3949
3960
  ] }) : null })
3950
3961
  ] }),
3951
- /* @__PURE__ */ jsx21(
3962
+ /* @__PURE__ */ jsx22(
3952
3963
  "textarea",
3953
3964
  {
3954
3965
  ref: textAreaRef,
@@ -3961,22 +3972,22 @@ var InputGroup = ({
3961
3972
  onKeyDown
3962
3973
  }
3963
3974
  ),
3964
- useMath && /* @__PURE__ */ jsx21(
3975
+ useMath && /* @__PURE__ */ jsx22(
3965
3976
  "button",
3966
3977
  {
3967
3978
  className: "absolute right-2 top-1/2 transform -translate-y-1/2 bg-catchup-blue-400 text-white rounded-md px-3 py-1 shadow-sm hover:bg-catchup-blue-500 transition-colors duration-200 z-10",
3968
3979
  onClick: handleOpenMathConstructor,
3969
3980
  type: "button",
3970
3981
  children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-x-1", children: [
3971
- /* @__PURE__ */ jsx21("span", { className: "text-sm font-medium", children: "\u{1D453}(x)" }),
3972
- /* @__PURE__ */ jsx21(
3982
+ /* @__PURE__ */ jsx22("span", { className: "text-sm font-medium", children: "\u{1D453}(x)" }),
3983
+ /* @__PURE__ */ jsx22(
3973
3984
  "svg",
3974
3985
  {
3975
3986
  className: "w-3 h-3",
3976
3987
  fill: "none",
3977
3988
  stroke: "currentColor",
3978
3989
  viewBox: "0 0 24 24",
3979
- children: /* @__PURE__ */ jsx21(
3990
+ children: /* @__PURE__ */ jsx22(
3980
3991
  "path",
3981
3992
  {
3982
3993
  strokeLinecap: "round",
@@ -3994,12 +4005,12 @@ var InputGroup = ({
3994
4005
  };
3995
4006
  const TextInputGroup = () => {
3996
4007
  return /* @__PURE__ */ jsxs12("div", { className: "my-1 relative", children: [
3997
- title ? /* @__PURE__ */ jsx21("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3998
- /* @__PURE__ */ jsx21(
4008
+ title ? /* @__PURE__ */ jsx22("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
4009
+ /* @__PURE__ */ jsx22(
3999
4010
  "div",
4000
4011
  {
4001
4012
  className: `w-full border ${errorText ? "border-catchup-red shadow-error" : "border-catchup-gray-100"} rounded-catchup-large focus-within:border-catchup-blue-400 focus-within:shadow-input ${disabled ? "bg-catchup-lighter-gray" : "bg-white"}`,
4002
- children: /* @__PURE__ */ jsx21(
4013
+ children: /* @__PURE__ */ jsx22(
4003
4014
  "input",
4004
4015
  {
4005
4016
  disabled,
@@ -4015,22 +4026,22 @@ var InputGroup = ({
4015
4026
  )
4016
4027
  }
4017
4028
  ),
4018
- useMath && /* @__PURE__ */ jsx21(
4029
+ useMath && /* @__PURE__ */ jsx22(
4019
4030
  "button",
4020
4031
  {
4021
4032
  className: "absolute right-2 top-1/2 transform -translate-y-1/2 bg-catchup-blue-400 text-white rounded-md px-3 py-1 shadow-sm hover:bg-catchup-blue-500 transition-colors duration-200",
4022
4033
  onClick: handleOpenMathConstructor,
4023
4034
  type: "button",
4024
4035
  children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-x-1", children: [
4025
- /* @__PURE__ */ jsx21("span", { className: "text-sm font-medium", children: "\u{1D453}(x)" }),
4026
- /* @__PURE__ */ jsx21(
4036
+ /* @__PURE__ */ jsx22("span", { className: "text-sm font-medium", children: "\u{1D453}(x)" }),
4037
+ /* @__PURE__ */ jsx22(
4027
4038
  "svg",
4028
4039
  {
4029
4040
  className: "w-3 h-3",
4030
4041
  fill: "none",
4031
4042
  stroke: "currentColor",
4032
4043
  viewBox: "0 0 24 24",
4033
- children: /* @__PURE__ */ jsx21(
4044
+ children: /* @__PURE__ */ jsx22(
4034
4045
  "path",
4035
4046
  {
4036
4047
  strokeLinecap: "round",
@@ -4065,7 +4076,7 @@ var InputGroup = ({
4065
4076
  };
4066
4077
  return /* @__PURE__ */ jsxs12(Fragment, { children: [
4067
4078
  RenderMainContent(),
4068
- /* @__PURE__ */ jsx21(MathConstructorModal, {})
4079
+ /* @__PURE__ */ jsx22(MathConstructorModal, {})
4069
4080
  ] });
4070
4081
  };
4071
4082
  var InputGroup_default = InputGroup;
@@ -4173,7 +4184,7 @@ var getColorByIndex = (index) => {
4173
4184
 
4174
4185
  // src/components/dropdowns/MediaDropdown.tsx
4175
4186
  import { useState as useState13 } from "react";
4176
- import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
4187
+ import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
4177
4188
  var MediaDropdown = ({ id, answer, optionList }) => {
4178
4189
  const [showDropdown, setShowDropdown] = useState13(false);
4179
4190
  return /* @__PURE__ */ jsxs13(
@@ -4187,8 +4198,8 @@ var MediaDropdown = ({ id, answer, optionList }) => {
4187
4198
  setShowDropdown(false);
4188
4199
  },
4189
4200
  children: [
4190
- /* @__PURE__ */ jsx22("div", { className: "w-full flex flex-col items-center justify-center", children: answer }),
4191
- /* @__PURE__ */ jsx22(
4201
+ /* @__PURE__ */ jsx23("div", { className: "w-full flex flex-col items-center justify-center", children: answer }),
4202
+ /* @__PURE__ */ jsx23(
4192
4203
  "ul",
4193
4204
  {
4194
4205
  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`,
@@ -4197,7 +4208,7 @@ var MediaDropdown = ({ id, answer, optionList }) => {
4197
4208
  {
4198
4209
  className: `${option.listItemClassNames ? option.listItemClassNames : ""}`,
4199
4210
  children: [
4200
- /* @__PURE__ */ jsx22(
4211
+ /* @__PURE__ */ jsx23(
4201
4212
  "div",
4202
4213
  {
4203
4214
  className: `w-full flex flex-col my-2 ${option.divClassNames ? option.divClassNames : ""}`,
@@ -4205,7 +4216,7 @@ var MediaDropdown = ({ id, answer, optionList }) => {
4205
4216
  children: option.media
4206
4217
  }
4207
4218
  ),
4208
- index !== optionList.length - 1 ? /* @__PURE__ */ jsx22("div", { className: "w-full border my-1 border-catchup-light-blue rounded-catchup-full" }) : null
4219
+ index !== optionList.length - 1 ? /* @__PURE__ */ jsx23("div", { className: "w-full border my-1 border-catchup-light-blue rounded-catchup-full" }) : null
4209
4220
  ]
4210
4221
  },
4211
4222
  option.id
@@ -4222,7 +4233,7 @@ var MediaDropdown_default = MediaDropdown;
4222
4233
  // src/components/activities/material-content/ShowMaterialMediaByContentType.tsx
4223
4234
  import { useEffect as useEffect4, useRef as useRef2, useState as useState14 } from "react";
4224
4235
  import Modal3 from "react-modal";
4225
- import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
4236
+ import { jsx as jsx24, jsxs as jsxs14 } from "react/jsx-runtime";
4226
4237
  var ShowMaterialMediaByContentType = ({
4227
4238
  key,
4228
4239
  contentType,
@@ -4250,7 +4261,7 @@ var ShowMaterialMediaByContentType = ({
4250
4261
  }
4251
4262
  }, [isLoaded, key]);
4252
4263
  const RenderShowFullScreenItem = () => {
4253
- return /* @__PURE__ */ jsx23(
4264
+ return /* @__PURE__ */ jsx24(
4254
4265
  Modal3,
4255
4266
  {
4256
4267
  isOpen: showFullScreen,
@@ -4282,7 +4293,7 @@ var ShowMaterialMediaByContentType = ({
4282
4293
  },
4283
4294
  contentLabel: "",
4284
4295
  children: /* @__PURE__ */ jsxs14("div", { className: "flex-1 flex flex-col", children: [
4285
- /* @__PURE__ */ jsx23("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx23(
4296
+ /* @__PURE__ */ jsx24("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx24(
4286
4297
  BaseImage_default,
4287
4298
  {
4288
4299
  src: "/icons/cross-red.webp",
@@ -4294,7 +4305,7 @@ var ShowMaterialMediaByContentType = ({
4294
4305
  }
4295
4306
  }
4296
4307
  ) }),
4297
- /* @__PURE__ */ jsx23("div", { className: "flex items-center justify-center h-[500px]", children: /* @__PURE__ */ jsx23(
4308
+ /* @__PURE__ */ jsx24("div", { className: "flex items-center justify-center h-[500px]", children: /* @__PURE__ */ jsx24(
4298
4309
  BaseImage_default,
4299
4310
  {
4300
4311
  src: selectedFullScreenItem,
@@ -4309,12 +4320,12 @@ var ShowMaterialMediaByContentType = ({
4309
4320
  };
4310
4321
  return contentType === "IMAGE" ? /* @__PURE__ */ jsxs14("div", { children: [
4311
4322
  RenderShowFullScreenItem(),
4312
- /* @__PURE__ */ jsx23("div", { className: "my-2", children: /* @__PURE__ */ jsx23("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsxs14(
4323
+ /* @__PURE__ */ jsx24("div", { className: "my-2", children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsxs14(
4313
4324
  "div",
4314
4325
  {
4315
4326
  className: `${isFullHeight ? "h-catchup-activity-box-item" : "max-w-catchup-activity-box-item"} flex flex-col justify-center items-center relative`,
4316
4327
  children: [
4317
- /* @__PURE__ */ jsx23(
4328
+ /* @__PURE__ */ jsx24(
4318
4329
  BaseImage_default,
4319
4330
  {
4320
4331
  src,
@@ -4327,7 +4338,7 @@ var ShowMaterialMediaByContentType = ({
4327
4338
  }
4328
4339
  }
4329
4340
  ),
4330
- src !== null && src !== "" && src !== "DEFAULT_OPTION" && canFullScreen ? /* @__PURE__ */ jsx23(
4341
+ src !== null && src !== "" && src !== "DEFAULT_OPTION" && canFullScreen ? /* @__PURE__ */ jsx24(
4331
4342
  "div",
4332
4343
  {
4333
4344
  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",
@@ -4339,7 +4350,7 @@ var ShowMaterialMediaByContentType = ({
4339
4350
  setShowFullScreen(true);
4340
4351
  setSelectedFullScreenItem(src);
4341
4352
  },
4342
- children: /* @__PURE__ */ jsx23(
4353
+ children: /* @__PURE__ */ jsx24(
4343
4354
  BaseImage_default,
4344
4355
  {
4345
4356
  src: "/icons/arrow-up.webp",
@@ -4353,7 +4364,7 @@ var ShowMaterialMediaByContentType = ({
4353
4364
  ]
4354
4365
  }
4355
4366
  ) }) })
4356
- ] }, key) : contentType === "VIDEO" ? /* @__PURE__ */ jsx23("div", { className: "my-2", children: /* @__PURE__ */ jsx23("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx23("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx23(
4367
+ ] }, key) : contentType === "VIDEO" ? /* @__PURE__ */ jsx24("div", { className: "my-2", children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx24(
4357
4368
  "video",
4358
4369
  {
4359
4370
  className: "h-catchup-activity-box-item rounded-catchup-xlarge",
@@ -4362,7 +4373,7 @@ var ShowMaterialMediaByContentType = ({
4362
4373
  onClick: () => {
4363
4374
  }
4364
4375
  }
4365
- ) }) }) }) : contentType === "AUDIO" ? /* @__PURE__ */ jsx23("div", { className: "my-2", children: /* @__PURE__ */ jsx23("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx23("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx23(
4376
+ ) }) }) }) : contentType === "AUDIO" ? /* @__PURE__ */ jsx24("div", { className: "my-2", children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx24(
4366
4377
  "audio",
4367
4378
  {
4368
4379
  className: "h-catchup-activity-box-item rounded-catchup-xlarge",
@@ -4376,7 +4387,7 @@ var ShowMaterialMediaByContentType = ({
4376
4387
  var ShowMaterialMediaByContentType_default = ShowMaterialMediaByContentType;
4377
4388
 
4378
4389
  // src/components/activities/material-content/DropdownActivityMaterialContent.tsx
4379
- import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
4390
+ import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
4380
4391
  var DropdownActivityMaterialContent = ({
4381
4392
  uniqueValue,
4382
4393
  answer,
@@ -4420,21 +4431,21 @@ var DropdownActivityMaterialContent = ({
4420
4431
  };
4421
4432
  const answerMap = retrieveAnswerMap();
4422
4433
  return /* @__PURE__ */ jsxs15("div", { className: "flex flex-row flex-wrap items-center", children: [
4423
- /* @__PURE__ */ jsx24("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx24("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_dropdown_text") }) }),
4424
- /* @__PURE__ */ jsx24("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx24(DividerLine_default, {}) }),
4425
- /* @__PURE__ */ jsx24("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4434
+ /* @__PURE__ */ jsx25("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx25("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_dropdown_text") }) }),
4435
+ /* @__PURE__ */ jsx25("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx25(DividerLine_default, {}) }),
4436
+ /* @__PURE__ */ jsx25("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4426
4437
  const answerKey = Object.keys(materialMap[materialKey])[0];
4427
4438
  const learnerAnswerState = checkAnswerState(
4428
4439
  answerKey,
4429
4440
  answerMap[materialKey]
4430
4441
  );
4431
- return /* @__PURE__ */ jsx24("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx24("div", { className: "mx-2", children: /* @__PURE__ */ jsxs15("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4432
- /* @__PURE__ */ jsx24("div", { className: "my-auto", children: /* @__PURE__ */ jsxs15("p", { className: "text-xl", children: [
4442
+ return /* @__PURE__ */ jsx25("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx25("div", { className: "mx-2", children: /* @__PURE__ */ jsxs15("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4443
+ /* @__PURE__ */ jsx25("div", { className: "my-auto", children: /* @__PURE__ */ jsxs15("p", { className: "text-xl", children: [
4433
4444
  parseFloat(materialKey) + 1,
4434
4445
  "."
4435
4446
  ] }) }),
4436
4447
  /* @__PURE__ */ jsxs15("div", { className: "w-full relative", children: [
4437
- /* @__PURE__ */ jsx24("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsx24("div", { className: "flex-1", children: /* @__PURE__ */ jsx24(
4448
+ /* @__PURE__ */ jsx25("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsx25("div", { className: "flex-1", children: /* @__PURE__ */ jsx25(
4438
4449
  InputGroup_default,
4439
4450
  {
4440
4451
  type: "select",
@@ -4442,13 +4453,13 @@ var DropdownActivityMaterialContent = ({
4442
4453
  optionList: shuffleArray(
4443
4454
  materialMap[materialKey][answerKey]
4444
4455
  ).map((materialOption) => ({
4445
- text: /* @__PURE__ */ jsx24("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4456
+ text: /* @__PURE__ */ jsx25("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4446
4457
  materialOption
4447
- ).map((inputPart, index2) => /* @__PURE__ */ jsx24(
4458
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx25(
4448
4459
  "span",
4449
4460
  {
4450
4461
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4451
- children: inputPart.isEquation ? /* @__PURE__ */ jsx24("span", { className: "text-2xl", children: /* @__PURE__ */ jsx24(
4462
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx25("span", { className: "text-2xl", children: /* @__PURE__ */ jsx25(
4452
4463
  InlineMath2,
4453
4464
  {
4454
4465
  math: inputPart.value
@@ -4463,11 +4474,11 @@ var DropdownActivityMaterialContent = ({
4463
4474
  onChange(answer, materialKey, e.target.value);
4464
4475
  }
4465
4476
  }
4466
- ) }) : /* @__PURE__ */ jsx24(
4477
+ ) }) : /* @__PURE__ */ jsx25(
4467
4478
  MediaDropdown_default,
4468
4479
  {
4469
4480
  id: materialKey,
4470
- answer: answerMap[materialKey] === "DEFAULT_OPTION" ? /* @__PURE__ */ jsx24("div", { className: "w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed border-catchup-blue", children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx24("span", { className: "italic", children: i18n_default.t("please_select") }) }) }) : /* @__PURE__ */ jsx24(
4481
+ answer: answerMap[materialKey] === "DEFAULT_OPTION" ? /* @__PURE__ */ jsx25("div", { className: "w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed border-catchup-blue", children: /* @__PURE__ */ jsx25("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx25("span", { className: "italic", children: i18n_default.t("please_select") }) }) }) : /* @__PURE__ */ jsx25(
4471
4482
  ShowMaterialMediaByContentType_default,
4472
4483
  {
4473
4484
  contentType: contentMap.type,
@@ -4479,7 +4490,7 @@ var DropdownActivityMaterialContent = ({
4479
4490
  optionList: materialMap[materialKey][answerKey].map(
4480
4491
  (materialOption, index2) => ({
4481
4492
  id: index2,
4482
- media: /* @__PURE__ */ jsx24("div", { children: /* @__PURE__ */ jsx24(
4493
+ media: /* @__PURE__ */ jsx25("div", { children: /* @__PURE__ */ jsx25(
4483
4494
  ShowMaterialMediaByContentType_default,
4484
4495
  {
4485
4496
  contentType: contentMap.type,
@@ -4498,24 +4509,24 @@ var DropdownActivityMaterialContent = ({
4498
4509
  })
4499
4510
  )
4500
4511
  }
4501
- ) : /* @__PURE__ */ jsx24("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4512
+ ) : /* @__PURE__ */ jsx25("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4502
4513
  answerMap[materialKey]
4503
- ).map((inputPart, index2) => /* @__PURE__ */ jsx24(
4514
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx25(
4504
4515
  "span",
4505
4516
  {
4506
4517
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4507
- children: inputPart.isEquation ? /* @__PURE__ */ jsx24("span", { className: "text-2xl", children: /* @__PURE__ */ jsx24(InlineMath2, { math: inputPart.value }) }) : inputPart.value
4518
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx25("span", { className: "text-2xl", children: /* @__PURE__ */ jsx25(InlineMath2, { math: inputPart.value }) }) : inputPart.value
4508
4519
  },
4509
4520
  index2
4510
4521
  )) }) }),
4511
- learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx24("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx24(
4522
+ learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx25("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx25(
4512
4523
  BaseImage_default,
4513
4524
  {
4514
4525
  src: "/icons/checkbox.webp",
4515
4526
  alt: "chekbbox",
4516
4527
  size: "small"
4517
4528
  }
4518
- ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx24("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx24(
4529
+ ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx25("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx25(
4519
4530
  BaseImage_default,
4520
4531
  {
4521
4532
  src: "/icons/cross-red.webp",
@@ -4532,7 +4543,7 @@ var DropdownActivityMaterialContent_default = DropdownActivityMaterialContent;
4532
4543
 
4533
4544
  // src/components/activities/DropdownActivityContent.tsx
4534
4545
  import { useState as useState16, useEffect as useEffect6 } from "react";
4535
- import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
4546
+ import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
4536
4547
  var DropdownActivityContent = ({
4537
4548
  answer,
4538
4549
  data,
@@ -4575,7 +4586,7 @@ var DropdownActivityContent = ({
4575
4586
  changeAnswer(newAnswer);
4576
4587
  };
4577
4588
  return /* @__PURE__ */ jsxs16("div", { className: "flex flex-row flex-wrap", children: [
4578
- /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx25(
4589
+ /* @__PURE__ */ jsx26("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx26(
4579
4590
  ActivityBodyContent_default,
4580
4591
  {
4581
4592
  bodyMap: dropdownBodyMap,
@@ -4584,9 +4595,9 @@ var DropdownActivityContent = ({
4584
4595
  templateType: "DROPDOWN"
4585
4596
  }
4586
4597
  ) }),
4587
- /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx25(DividerLine_default, {}) }),
4588
- /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx25(VerticalDividerLine_default, {}) }),
4589
- /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx25(
4598
+ /* @__PURE__ */ jsx26("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx26(DividerLine_default, {}) }),
4599
+ /* @__PURE__ */ jsx26("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx26(VerticalDividerLine_default, {}) }),
4600
+ /* @__PURE__ */ jsx26("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx26(
4590
4601
  DropdownActivityMaterialContent_default,
4591
4602
  {
4592
4603
  uniqueValue: JSON.stringify(data.contentMap),
@@ -4611,7 +4622,7 @@ import { useDrop as useDrop2 } from "react-dnd";
4611
4622
 
4612
4623
  // src/components/dnds/DraggableItem.tsx
4613
4624
  import { useDrag } from "react-dnd";
4614
- import { jsx as jsx26 } from "react/jsx-runtime";
4625
+ import { jsx as jsx27 } from "react/jsx-runtime";
4615
4626
  var DraggableItem = ({
4616
4627
  item,
4617
4628
  type,
@@ -4632,11 +4643,11 @@ var DraggableItem = ({
4632
4643
  })
4633
4644
  });
4634
4645
  const opacity = isDragging ? 0.4 : 1;
4635
- return /* @__PURE__ */ jsx26(
4646
+ return /* @__PURE__ */ jsx27(
4636
4647
  "div",
4637
4648
  {
4638
4649
  className: `${isDragging ? "w-[0px] opacity-0" : "opacity-100"} transition-all duration-500`,
4639
- children: /* @__PURE__ */ jsx26("div", { ref: drag, className: "", style: { opacity }, children: component })
4650
+ children: /* @__PURE__ */ jsx27("div", { ref: drag, className: "", style: { opacity }, children: component })
4640
4651
  }
4641
4652
  );
4642
4653
  };
@@ -4645,7 +4656,7 @@ var DraggableItem_default = DraggableItem;
4645
4656
  // src/components/dnds/DroppableItem.tsx
4646
4657
  import { useRef as useRef3 } from "react";
4647
4658
  import { useDrop } from "react-dnd";
4648
- import { jsx as jsx27 } from "react/jsx-runtime";
4659
+ import { jsx as jsx28 } from "react/jsx-runtime";
4649
4660
  var DroppableItem = ({
4650
4661
  item,
4651
4662
  type,
@@ -4664,12 +4675,12 @@ var DroppableItem = ({
4664
4675
  }
4665
4676
  });
4666
4677
  dropRef(drop(ref));
4667
- return /* @__PURE__ */ jsx27("div", { className: `w-full transition-all duration-500 h-full`, ref, children: component });
4678
+ return /* @__PURE__ */ jsx28("div", { className: `w-full transition-all duration-500 h-full`, ref, children: component });
4668
4679
  };
4669
4680
  var DroppableItem_default = DroppableItem;
4670
4681
 
4671
4682
  // src/components/activities/material-content/FillInTheBlanksActivityMaterialContent.tsx
4672
- import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
4683
+ import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
4673
4684
  var FillInTheBlanksActivityMaterialContent = ({
4674
4685
  uniqueValue,
4675
4686
  answer,
@@ -4730,10 +4741,10 @@ var FillInTheBlanksActivityMaterialContent = ({
4730
4741
  const answerMap = retrieveAnswerMap();
4731
4742
  return /* @__PURE__ */ jsxs17("div", { className: "flex flex-row flex-wrap items-center", onMouseUp: () => {
4732
4743
  }, children: [
4733
- /* @__PURE__ */ jsx28("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx28("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_fill_in_the_blanks_text") }) }),
4734
- /* @__PURE__ */ jsx28("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx28(DividerLine_default, {}) }),
4735
- /* @__PURE__ */ jsx28("div", { className: "w-full flex flex-row flex-wrap gap-x-2 gap-y-2 my-2", children: shuffleOptionList.map(
4736
- (option, index) => checkAnswerProvided(answerMap, option) ? /* @__PURE__ */ jsx28("div", { className: "opacity-30", children: /* @__PURE__ */ jsx28(
4744
+ /* @__PURE__ */ jsx29("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx29("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_fill_in_the_blanks_text") }) }),
4745
+ /* @__PURE__ */ jsx29("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx29(DividerLine_default, {}) }),
4746
+ /* @__PURE__ */ jsx29("div", { className: "w-full flex flex-row flex-wrap gap-x-2 gap-y-2 my-2", children: shuffleOptionList.map(
4747
+ (option, index) => checkAnswerProvided(answerMap, option) ? /* @__PURE__ */ jsx29("div", { className: "opacity-30", children: /* @__PURE__ */ jsx29(
4737
4748
  ShowMaterialMediaByContentType_default,
4738
4749
  {
4739
4750
  contentType: contentMap.type,
@@ -4741,12 +4752,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4741
4752
  canFullScreen: true
4742
4753
  },
4743
4754
  `${uniqueValue}-${index}`
4744
- ) }, index) : /* @__PURE__ */ jsx28(
4755
+ ) }, index) : /* @__PURE__ */ jsx29(
4745
4756
  DraggableItem_default,
4746
4757
  {
4747
4758
  item: { index: option },
4748
4759
  type: "FILL_IN_THE_BLANKS",
4749
- component: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx28(
4760
+ component: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx29(
4750
4761
  "div",
4751
4762
  {
4752
4763
  className: "border-catchup-blue border-2 px-2 py-1 rounded-catchup-xlarge cursor-pointer",
@@ -4754,9 +4765,9 @@ var FillInTheBlanksActivityMaterialContent = ({
4754
4765
  setSelectedOption(option);
4755
4766
  setPasteOptionIndex(null);
4756
4767
  },
4757
- children: /* @__PURE__ */ jsx28("p", { className: "italic whitespace-pre-wrap", children: option })
4768
+ children: /* @__PURE__ */ jsx29("p", { className: "italic whitespace-pre-wrap", children: option })
4758
4769
  }
4759
- ) : /* @__PURE__ */ jsx28(
4770
+ ) : /* @__PURE__ */ jsx29(
4760
4771
  "div",
4761
4772
  {
4762
4773
  className: "border-catchup-blue border-2 px-2 py-1 rounded-catchup-xlarge cursor-pointer",
@@ -4764,7 +4775,7 @@ var FillInTheBlanksActivityMaterialContent = ({
4764
4775
  setSelectedOption(option);
4765
4776
  setPasteOptionIndex(null);
4766
4777
  },
4767
- children: /* @__PURE__ */ jsx28(
4778
+ children: /* @__PURE__ */ jsx29(
4768
4779
  ShowMaterialMediaByContentType_default,
4769
4780
  {
4770
4781
  contentType: contentMap.type,
@@ -4782,12 +4793,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4782
4793
  index
4783
4794
  )
4784
4795
  ) }),
4785
- /* @__PURE__ */ jsx28("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4796
+ /* @__PURE__ */ jsx29("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4786
4797
  const learnerAnswerState = checkAnswerState(
4787
4798
  JSON.parse(materialMap[materialKey]),
4788
4799
  answerMap[materialKey]
4789
4800
  );
4790
- return /* @__PURE__ */ jsx28("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx28("div", { className: "mx-2", children: /* @__PURE__ */ jsx28(
4801
+ return /* @__PURE__ */ jsx29("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx29("div", { className: "mx-2", children: /* @__PURE__ */ jsx29(
4791
4802
  DroppableItem_default,
4792
4803
  {
4793
4804
  item: { index },
@@ -4796,12 +4807,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4796
4807
  setTarget: setPasteOptionIndex,
4797
4808
  dropRef: drop,
4798
4809
  component: /* @__PURE__ */ jsxs17("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4799
- /* @__PURE__ */ jsx28("div", { className: "my-auto", children: /* @__PURE__ */ jsxs17("p", { className: "text-xl", children: [
4810
+ /* @__PURE__ */ jsx29("div", { className: "my-auto", children: /* @__PURE__ */ jsxs17("p", { className: "text-xl", children: [
4800
4811
  parseFloat(materialKey) + 1,
4801
4812
  "."
4802
4813
  ] }) }),
4803
- /* @__PURE__ */ jsx28("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsxs17("div", { className: "relative", children: [
4804
- /* @__PURE__ */ jsx28("div", { className: "flex-1", children: /* @__PURE__ */ jsx28(
4814
+ /* @__PURE__ */ jsx29("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsxs17("div", { className: "relative", children: [
4815
+ /* @__PURE__ */ jsx29("div", { className: "flex-1", children: /* @__PURE__ */ jsx29(
4805
4816
  InputGroup_default,
4806
4817
  {
4807
4818
  type: "textarea",
@@ -4816,14 +4827,14 @@ var FillInTheBlanksActivityMaterialContent = ({
4816
4827
  }
4817
4828
  }
4818
4829
  ) }),
4819
- learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx28("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx28(
4830
+ learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx29("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx29(
4820
4831
  BaseImage_default,
4821
4832
  {
4822
4833
  src: "/icons/checkbox.webp",
4823
4834
  alt: "checkbox",
4824
4835
  size: "small"
4825
4836
  }
4826
- ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx28("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx28(
4837
+ ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx29("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx29(
4827
4838
  BaseImage_default,
4828
4839
  {
4829
4840
  src: "/icons/cross-red.webp",
@@ -4831,20 +4842,20 @@ var FillInTheBlanksActivityMaterialContent = ({
4831
4842
  size: "small"
4832
4843
  }
4833
4844
  ) }) : null
4834
- ] }) : answerMap[materialKey] === "" ? /* @__PURE__ */ jsx28(
4845
+ ] }) : answerMap[materialKey] === "" ? /* @__PURE__ */ jsx29(
4835
4846
  "div",
4836
4847
  {
4837
4848
  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"}`,
4838
- children: /* @__PURE__ */ jsx28("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx28("span", { className: "italic", children: i18n_default.t("please_drop_here") }) })
4849
+ children: /* @__PURE__ */ jsx29("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx29("span", { className: "italic", children: i18n_default.t("please_drop_here") }) })
4839
4850
  }
4840
- ) : /* @__PURE__ */ jsx28(
4851
+ ) : /* @__PURE__ */ jsx29(
4841
4852
  "div",
4842
4853
  {
4843
4854
  className: "flex-1 cursor-pointer",
4844
4855
  onClick: () => {
4845
4856
  onChange(answer, materialKey, "");
4846
4857
  },
4847
- children: /* @__PURE__ */ jsx28(
4858
+ children: /* @__PURE__ */ jsx29(
4848
4859
  ShowMaterialMediaByContentType_default,
4849
4860
  {
4850
4861
  contentType: contentMap.type,
@@ -4854,13 +4865,13 @@ var FillInTheBlanksActivityMaterialContent = ({
4854
4865
  `${uniqueValue}-${index}`
4855
4866
  )
4856
4867
  }
4857
- ) : /* @__PURE__ */ jsx28("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
4868
+ ) : /* @__PURE__ */ jsx29("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
4858
4869
  answerMap[materialKey]
4859
- ).map((inputPart, index2) => /* @__PURE__ */ jsx28(
4870
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx29(
4860
4871
  "span",
4861
4872
  {
4862
4873
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4863
- children: inputPart.isEquation ? /* @__PURE__ */ jsx28("span", { className: "text-2xl", children: /* @__PURE__ */ jsx28(InlineMath3, { math: inputPart.value }) }) : inputPart.value
4874
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx29("span", { className: "text-2xl", children: /* @__PURE__ */ jsx29(InlineMath3, { math: inputPart.value }) }) : inputPart.value
4864
4875
  },
4865
4876
  index2
4866
4877
  )) }, materialKey) })
@@ -4875,7 +4886,7 @@ var FillInTheBlanksActivityMaterialContent_default = FillInTheBlanksActivityMate
4875
4886
 
4876
4887
  // src/components/activities/FillInTheBlanksActivityContent.tsx
4877
4888
  import { useState as useState18, useEffect as useEffect8 } from "react";
4878
- import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
4889
+ import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
4879
4890
  var FillInTheBlanksActivityContent = ({
4880
4891
  answer,
4881
4892
  data,
@@ -4943,7 +4954,7 @@ var FillInTheBlanksActivityContent = ({
4943
4954
  changeAnswer(newAnswer);
4944
4955
  };
4945
4956
  return /* @__PURE__ */ jsxs18("div", { className: "flex flex-row flex-wrap", children: [
4946
- /* @__PURE__ */ jsx29("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx29(
4957
+ /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx30(
4947
4958
  ActivityBodyContent_default,
4948
4959
  {
4949
4960
  bodyMap: fillInTheBlanksBodyMap,
@@ -4952,9 +4963,9 @@ var FillInTheBlanksActivityContent = ({
4952
4963
  templateType: "FILL_IN_THE_BLANKS"
4953
4964
  }
4954
4965
  ) }),
4955
- /* @__PURE__ */ jsx29("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx29(DividerLine_default, {}) }),
4956
- /* @__PURE__ */ jsx29("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx29(VerticalDividerLine_default, {}) }),
4957
- /* @__PURE__ */ jsx29("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx29(
4966
+ /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx30(DividerLine_default, {}) }),
4967
+ /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx30(VerticalDividerLine_default, {}) }),
4968
+ /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx30(
4958
4969
  FillInTheBlanksActivityMaterialContent_default,
4959
4970
  {
4960
4971
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5013,7 +5024,7 @@ var useScreenSize = () => {
5013
5024
  var useScreenSize_default = useScreenSize;
5014
5025
 
5015
5026
  // src/components/activities/material-content/GroupingActivityMaterialContent.tsx
5016
- import { Fragment as Fragment2, jsx as jsx30, jsxs as jsxs19 } from "react/jsx-runtime";
5027
+ import { Fragment as Fragment2, jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
5017
5028
  var GroupingActivityMaterialContent = ({
5018
5029
  uniqueValue,
5019
5030
  answer,
@@ -5113,18 +5124,18 @@ var GroupingActivityMaterialContent = ({
5113
5124
  const answerMap = retrieveAnswerMap();
5114
5125
  const filteredMaterialList = retrieveFilteredMaterialList(answerMap);
5115
5126
  return /* @__PURE__ */ jsxs19(Fragment2, { children: [
5116
- /* @__PURE__ */ jsx30(
5127
+ /* @__PURE__ */ jsx31(
5117
5128
  "div",
5118
5129
  {
5119
5130
  ref: itemsRef,
5120
5131
  className: "flex-1 flex flex-row gap-x-4 gap-y-4 overflow-auto py-2",
5121
5132
  children: filteredMaterialList.map((materialValue, index) => {
5122
- return /* @__PURE__ */ jsx30(
5133
+ return /* @__PURE__ */ jsx31(
5123
5134
  DraggableItem_default,
5124
5135
  {
5125
5136
  item: { index: materialValue },
5126
5137
  type: "GROUPING",
5127
- component: /* @__PURE__ */ jsx30(
5138
+ component: /* @__PURE__ */ jsx31(
5128
5139
  "div",
5129
5140
  {
5130
5141
  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`,
@@ -5138,22 +5149,22 @@ var GroupingActivityMaterialContent = ({
5138
5149
  setSelectedValue(null);
5139
5150
  }
5140
5151
  },
5141
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx30(
5152
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx31(
5142
5153
  "div",
5143
5154
  {
5144
5155
  className: `flex flex-col items-center justify-center m-4 min-h-[64px] min-w-[200px]`,
5145
- children: /* @__PURE__ */ jsx30("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5156
+ children: /* @__PURE__ */ jsx31("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5146
5157
  materialValue
5147
- ).map((inputPart, index2) => /* @__PURE__ */ jsx30(
5158
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx31(
5148
5159
  "span",
5149
5160
  {
5150
5161
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5151
- children: inputPart.isEquation ? /* @__PURE__ */ jsx30("span", { className: "text-2xl", children: /* @__PURE__ */ jsx30(InlineMath4, { math: inputPart.value }) }) : inputPart.value
5162
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx31("span", { className: "text-2xl", children: /* @__PURE__ */ jsx31(InlineMath4, { math: inputPart.value }) }) : inputPart.value
5152
5163
  },
5153
5164
  index2
5154
5165
  )) })
5155
5166
  }
5156
- ) : /* @__PURE__ */ jsx30(
5167
+ ) : /* @__PURE__ */ jsx31(
5157
5168
  ShowMaterialMediaByContentType_default,
5158
5169
  {
5159
5170
  contentType: contentMap.type,
@@ -5178,22 +5189,22 @@ var GroupingActivityMaterialContent = ({
5178
5189
  })
5179
5190
  }
5180
5191
  ),
5181
- filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx30(DividerLine_default, {}) : null,
5192
+ filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx31(DividerLine_default, {}) : null,
5182
5193
  Object.keys(answerMap).map((answerMapKey, index) => /* @__PURE__ */ jsxs19("div", { className: "flex flex-row w-full", children: [
5183
- /* @__PURE__ */ jsx30("div", { className: "w-1/3", children: /* @__PURE__ */ jsx30(
5194
+ /* @__PURE__ */ jsx31("div", { className: "w-1/3", children: /* @__PURE__ */ jsx31(
5184
5195
  "div",
5185
5196
  {
5186
5197
  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`,
5187
- children: /* @__PURE__ */ jsx30(
5198
+ children: /* @__PURE__ */ jsx31(
5188
5199
  "div",
5189
5200
  {
5190
5201
  className: `flex flex-col items-center justify-center transition-all duration-300 m-4`,
5191
- children: /* @__PURE__ */ jsx30("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5192
- (inputPart, index2) => /* @__PURE__ */ jsx30(
5202
+ children: /* @__PURE__ */ jsx31("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5203
+ (inputPart, index2) => /* @__PURE__ */ jsx31(
5193
5204
  "span",
5194
5205
  {
5195
5206
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5196
- children: inputPart.isEquation ? /* @__PURE__ */ jsx30("span", { className: "text-2xl", children: /* @__PURE__ */ jsx30(InlineMath4, { math: inputPart.value }) }) : inputPart.value
5207
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx31("span", { className: "text-2xl", children: /* @__PURE__ */ jsx31(InlineMath4, { math: inputPart.value }) }) : inputPart.value
5197
5208
  },
5198
5209
  index2
5199
5210
  )
@@ -5202,12 +5213,12 @@ var GroupingActivityMaterialContent = ({
5202
5213
  )
5203
5214
  }
5204
5215
  ) }),
5205
- /* @__PURE__ */ jsx30("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5206
- /* @__PURE__ */ jsx30("div", { className: "flex-1", ref, children: /* @__PURE__ */ jsx30("div", { className: "h-full py-3", children: /* @__PURE__ */ jsx30(
5216
+ /* @__PURE__ */ jsx31("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5217
+ /* @__PURE__ */ jsx31("div", { className: "flex-1", ref, children: /* @__PURE__ */ jsx31("div", { className: "h-full py-3", children: /* @__PURE__ */ jsx31(
5207
5218
  "div",
5208
5219
  {
5209
5220
  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`,
5210
- children: /* @__PURE__ */ jsx30(
5221
+ children: /* @__PURE__ */ jsx31(
5211
5222
  DroppableItem_default,
5212
5223
  {
5213
5224
  item: { index: answerMapKey },
@@ -5215,7 +5226,7 @@ var GroupingActivityMaterialContent = ({
5215
5226
  target: selectedTargetKey,
5216
5227
  setTarget: setSelectedTargetKey,
5217
5228
  dropRef: drop,
5218
- component: /* @__PURE__ */ jsx30(
5229
+ component: /* @__PURE__ */ jsx31(
5219
5230
  "div",
5220
5231
  {
5221
5232
  className: "h-full flex-1 flex flex-row items-center overflow-x-auto",
@@ -5228,7 +5239,7 @@ var GroupingActivityMaterialContent = ({
5228
5239
  materialMap[answerMapKey],
5229
5240
  answerMapValue
5230
5241
  );
5231
- return /* @__PURE__ */ jsx30("div", { className: "p-1", children: /* @__PURE__ */ jsx30("div", { className: "h-catchup-activity-box-item", children: /* @__PURE__ */ jsx30(
5242
+ return /* @__PURE__ */ jsx31("div", { className: "p-1", children: /* @__PURE__ */ jsx31("div", { className: "h-catchup-activity-box-item", children: /* @__PURE__ */ jsx31(
5232
5243
  "div",
5233
5244
  {
5234
5245
  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`,
@@ -5244,17 +5255,17 @@ var GroupingActivityMaterialContent = ({
5244
5255
  setSelectedValue(null);
5245
5256
  }
5246
5257
  },
5247
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx30(
5258
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx31(
5248
5259
  "div",
5249
5260
  {
5250
5261
  className: `flex flex-col items-center justify-center transition-all duration-300 min-h-[64px] min-w-[200px]`,
5251
- children: /* @__PURE__ */ jsx30("div", { className: "m-2", children: /* @__PURE__ */ jsx30("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5262
+ children: /* @__PURE__ */ jsx31("div", { className: "m-2", children: /* @__PURE__ */ jsx31("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5252
5263
  answerMapValue
5253
- ).map((inputPart, index2) => /* @__PURE__ */ jsx30(
5264
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx31(
5254
5265
  "span",
5255
5266
  {
5256
5267
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5257
- children: inputPart.isEquation ? /* @__PURE__ */ jsx30("span", { className: "text-2xl", children: /* @__PURE__ */ jsx30(
5268
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx31("span", { className: "text-2xl", children: /* @__PURE__ */ jsx31(
5258
5269
  InlineMath4,
5259
5270
  {
5260
5271
  math: inputPart.value
@@ -5264,7 +5275,7 @@ var GroupingActivityMaterialContent = ({
5264
5275
  index2
5265
5276
  )) }) })
5266
5277
  }
5267
- ) : /* @__PURE__ */ jsx30(
5278
+ ) : /* @__PURE__ */ jsx31(
5268
5279
  ShowMaterialMediaByContentType_default,
5269
5280
  {
5270
5281
  contentType: contentMap.type,
@@ -5290,7 +5301,7 @@ var GroupingActivityMaterialContent = ({
5290
5301
  var GroupingActivityMaterialContent_default = GroupingActivityMaterialContent;
5291
5302
 
5292
5303
  // src/components/activities/GroupingActivityContent.tsx
5293
- import { Fragment as Fragment3, jsx as jsx31, jsxs as jsxs20 } from "react/jsx-runtime";
5304
+ import { Fragment as Fragment3, jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
5294
5305
  var GroupingActivityContent = ({
5295
5306
  answer,
5296
5307
  data,
@@ -5316,15 +5327,15 @@ var GroupingActivityContent = ({
5316
5327
  changeAnswer(answer2);
5317
5328
  };
5318
5329
  return /* @__PURE__ */ jsxs20(Fragment3, { children: [
5319
- /* @__PURE__ */ jsx31(
5330
+ /* @__PURE__ */ jsx32(
5320
5331
  ActivityBodyContent_default,
5321
5332
  {
5322
5333
  bodyMap: groupingBodyMap,
5323
5334
  templateType: "GROUPING"
5324
5335
  }
5325
5336
  ),
5326
- /* @__PURE__ */ jsx31(DividerLine_default, {}),
5327
- /* @__PURE__ */ jsx31(
5337
+ /* @__PURE__ */ jsx32(DividerLine_default, {}),
5338
+ /* @__PURE__ */ jsx32(
5328
5339
  GroupingActivityMaterialContent_default,
5329
5340
  {
5330
5341
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5345,7 +5356,7 @@ var GroupingActivityContent_default = GroupingActivityContent;
5345
5356
  import { useEffect as useEffect11, useRef as useRef5, useState as useState21 } from "react";
5346
5357
  import { useDrop as useDrop4 } from "react-dnd";
5347
5358
  import { InlineMath as InlineMath5 } from "react-katex";
5348
- import { Fragment as Fragment4, jsx as jsx32, jsxs as jsxs21 } from "react/jsx-runtime";
5359
+ import { Fragment as Fragment4, jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
5349
5360
  var MatchingActivityMaterialContent = ({
5350
5361
  uniqueValue,
5351
5362
  answer,
@@ -5442,17 +5453,17 @@ var MatchingActivityMaterialContent = ({
5442
5453
  const answerMap = retrieveAnswerMap();
5443
5454
  const filteredMaterialList = retrieveFilteredMaterialList(answerMap);
5444
5455
  return /* @__PURE__ */ jsxs21(Fragment4, { children: [
5445
- /* @__PURE__ */ jsx32(
5456
+ /* @__PURE__ */ jsx33(
5446
5457
  "div",
5447
5458
  {
5448
5459
  ref: itemsRef,
5449
5460
  className: "flex-1 flex flex-row gap-x-4 gap-y-4 overflow-auto py-2",
5450
- children: filteredMaterialList.map((materialValue, index) => /* @__PURE__ */ jsx32(
5461
+ children: filteredMaterialList.map((materialValue, index) => /* @__PURE__ */ jsx33(
5451
5462
  DraggableItem_default,
5452
5463
  {
5453
5464
  item: { index: materialValue },
5454
5465
  type: "MATCHING",
5455
- component: /* @__PURE__ */ jsx32(
5466
+ component: /* @__PURE__ */ jsx33(
5456
5467
  "div",
5457
5468
  {
5458
5469
  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`,
@@ -5466,22 +5477,22 @@ var MatchingActivityMaterialContent = ({
5466
5477
  setSelectedValue(null);
5467
5478
  }
5468
5479
  },
5469
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx32(
5480
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx33(
5470
5481
  "div",
5471
5482
  {
5472
5483
  className: `flex flex-col items-center justify-center m-4 min-h-[64px] min-w-[200px]`,
5473
- children: /* @__PURE__ */ jsx32("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5484
+ children: /* @__PURE__ */ jsx33("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5474
5485
  materialValue
5475
- ).map((inputPart, index2) => /* @__PURE__ */ jsx32(
5486
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx33(
5476
5487
  "span",
5477
5488
  {
5478
5489
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5479
- children: inputPart.isEquation ? /* @__PURE__ */ jsx32("span", { className: "text-2xl", children: /* @__PURE__ */ jsx32(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5490
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx33("span", { className: "text-2xl", children: /* @__PURE__ */ jsx33(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5480
5491
  },
5481
5492
  index2
5482
5493
  )) })
5483
5494
  }
5484
- ) : /* @__PURE__ */ jsx32(
5495
+ ) : /* @__PURE__ */ jsx33(
5485
5496
  ShowMaterialMediaByContentType_default,
5486
5497
  {
5487
5498
  contentType: contentMap.type,
@@ -5505,27 +5516,27 @@ var MatchingActivityMaterialContent = ({
5505
5516
  ))
5506
5517
  }
5507
5518
  ),
5508
- filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx32(DividerLine_default, {}) : null,
5519
+ filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx33(DividerLine_default, {}) : null,
5509
5520
  Object.keys(answerMap).map((answerMapKey, index) => {
5510
5521
  const learnerAnswerState = checkAnswerState(
5511
5522
  materialMap[answerMapKey],
5512
5523
  answerMap[answerMapKey]
5513
5524
  );
5514
5525
  return /* @__PURE__ */ jsxs21("div", { className: "flex flex-row w-full", children: [
5515
- /* @__PURE__ */ jsx32("div", { className: "w-1/3", children: /* @__PURE__ */ jsx32(
5526
+ /* @__PURE__ */ jsx33("div", { className: "w-1/3", children: /* @__PURE__ */ jsx33(
5516
5527
  "div",
5517
5528
  {
5518
5529
  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"}`,
5519
- children: /* @__PURE__ */ jsx32(
5530
+ children: /* @__PURE__ */ jsx33(
5520
5531
  "div",
5521
5532
  {
5522
5533
  className: `flex flex-col items-center justify-center transition-all duration-300 m-4`,
5523
- children: /* @__PURE__ */ jsx32("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5524
- (inputPart, index2) => /* @__PURE__ */ jsx32(
5534
+ children: /* @__PURE__ */ jsx33("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5535
+ (inputPart, index2) => /* @__PURE__ */ jsx33(
5525
5536
  "span",
5526
5537
  {
5527
5538
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5528
- children: inputPart.isEquation ? /* @__PURE__ */ jsx32("span", { className: "text-2xl", children: /* @__PURE__ */ jsx32(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5539
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx33("span", { className: "text-2xl", children: /* @__PURE__ */ jsx33(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5529
5540
  },
5530
5541
  index2
5531
5542
  )
@@ -5534,8 +5545,8 @@ var MatchingActivityMaterialContent = ({
5534
5545
  )
5535
5546
  }
5536
5547
  ) }),
5537
- /* @__PURE__ */ jsx32("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5538
- /* @__PURE__ */ jsx32("div", { className: "flex-1", children: /* @__PURE__ */ jsx32(
5548
+ /* @__PURE__ */ jsx33("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5549
+ /* @__PURE__ */ jsx33("div", { className: "flex-1", children: /* @__PURE__ */ jsx33(
5539
5550
  "div",
5540
5551
  {
5541
5552
  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"}`,
@@ -5544,7 +5555,7 @@ var MatchingActivityMaterialContent = ({
5544
5555
  setSelectedValue(null);
5545
5556
  }
5546
5557
  },
5547
- children: /* @__PURE__ */ jsx32(
5558
+ children: /* @__PURE__ */ jsx33(
5548
5559
  DroppableItem_default,
5549
5560
  {
5550
5561
  item: { index: answerMapKey },
@@ -5552,7 +5563,7 @@ var MatchingActivityMaterialContent = ({
5552
5563
  target: selectedTargetKey,
5553
5564
  setTarget: setSelectedTargetKey,
5554
5565
  dropRef: drop,
5555
- component: /* @__PURE__ */ jsx32(
5566
+ component: /* @__PURE__ */ jsx33(
5556
5567
  "div",
5557
5568
  {
5558
5569
  className: `h-full flex-1 flex flex-row items-center justify-center `,
@@ -5565,16 +5576,16 @@ var MatchingActivityMaterialContent = ({
5565
5576
  );
5566
5577
  }
5567
5578
  },
5568
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx32("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5579
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx33("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5569
5580
  answerMap[answerMapKey]
5570
- ).map((inputPart, index2) => /* @__PURE__ */ jsx32(
5581
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx33(
5571
5582
  "span",
5572
5583
  {
5573
5584
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5574
- children: inputPart.isEquation ? /* @__PURE__ */ jsx32("span", { className: "text-2xl", children: /* @__PURE__ */ jsx32(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5585
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx33("span", { className: "text-2xl", children: /* @__PURE__ */ jsx33(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5575
5586
  },
5576
5587
  index2
5577
- )) }) : /* @__PURE__ */ jsx32(
5588
+ )) }) : /* @__PURE__ */ jsx33(
5578
5589
  ShowMaterialMediaByContentType_default,
5579
5590
  {
5580
5591
  contentType: contentMap.type,
@@ -5597,7 +5608,7 @@ var MatchingActivityMaterialContent = ({
5597
5608
  var MatchingActivityMaterialContent_default = MatchingActivityMaterialContent;
5598
5609
 
5599
5610
  // src/components/activities/MatchingActivityContent.tsx
5600
- import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs22 } from "react/jsx-runtime";
5611
+ import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
5601
5612
  var MatchingActivityContent = ({
5602
5613
  answer,
5603
5614
  data,
@@ -5619,15 +5630,15 @@ var MatchingActivityContent = ({
5619
5630
  changeAnswer(answer2);
5620
5631
  };
5621
5632
  return /* @__PURE__ */ jsxs22(Fragment5, { children: [
5622
- /* @__PURE__ */ jsx33(
5633
+ /* @__PURE__ */ jsx34(
5623
5634
  ActivityBodyContent_default,
5624
5635
  {
5625
5636
  bodyMap: matchingBodyMap,
5626
5637
  templateType: "MATCHING"
5627
5638
  }
5628
5639
  ),
5629
- /* @__PURE__ */ jsx33(DividerLine_default, {}),
5630
- /* @__PURE__ */ jsx33(
5640
+ /* @__PURE__ */ jsx34(DividerLine_default, {}),
5641
+ /* @__PURE__ */ jsx34(
5631
5642
  MatchingActivityMaterialContent_default,
5632
5643
  {
5633
5644
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5646,7 +5657,7 @@ var MatchingActivityContent_default = MatchingActivityContent;
5646
5657
 
5647
5658
  // src/components/activities/material-content/MCMAActivityMaterialContent.tsx
5648
5659
  import { InlineMath as InlineMath6 } from "react-katex";
5649
- import { jsx as jsx34, jsxs as jsxs23 } from "react/jsx-runtime";
5660
+ import { jsx as jsx35, jsxs as jsxs23 } from "react/jsx-runtime";
5650
5661
  var MCMAActivityMaterialContent = ({
5651
5662
  uniqueValue,
5652
5663
  answer,
@@ -5679,10 +5690,10 @@ var MCMAActivityMaterialContent = ({
5679
5690
  const answerMap = retrieveAnswerMap();
5680
5691
  const correctAnswerList = retrieveCorrectAnswerList();
5681
5692
  return Object.keys(materialMap).map((materialKey, index) => {
5682
- return /* @__PURE__ */ jsx34("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs23("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5683
- /* @__PURE__ */ jsx34("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx34("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5684
- /* @__PURE__ */ jsx34("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx34(DividerLine_default, {}) }),
5685
- checkCanAnswerQuestion() ? /* @__PURE__ */ jsx34("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
5693
+ return /* @__PURE__ */ jsx35("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs23("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5694
+ /* @__PURE__ */ jsx35("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx35("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5695
+ /* @__PURE__ */ jsx35("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx35(DividerLine_default, {}) }),
5696
+ checkCanAnswerQuestion() ? /* @__PURE__ */ jsx35("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
5686
5697
  (materialSubKey, index2) => {
5687
5698
  const foundAnswer = answerMap[materialKey].find(
5688
5699
  (learnerAnswer) => learnerAnswer === materialSubKey
@@ -5703,7 +5714,7 @@ var MCMAActivityMaterialContent = ({
5703
5714
  onChange(answer, materialKey, materialSubKey);
5704
5715
  },
5705
5716
  children: [
5706
- /* @__PURE__ */ jsx34(
5717
+ /* @__PURE__ */ jsx35(
5707
5718
  BaseImage_default,
5708
5719
  {
5709
5720
  src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -5713,16 +5724,16 @@ var MCMAActivityMaterialContent = ({
5713
5724
  }
5714
5725
  }
5715
5726
  ),
5716
- /* @__PURE__ */ jsx34("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx34("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5727
+ /* @__PURE__ */ jsx35("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx35("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5717
5728
  materialSubKey
5718
- ).map((inputPart, index3) => /* @__PURE__ */ jsx34(
5729
+ ).map((inputPart, index3) => /* @__PURE__ */ jsx35(
5719
5730
  "span",
5720
5731
  {
5721
5732
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5722
- children: inputPart.isEquation ? /* @__PURE__ */ jsx34("span", { className: "text-2xl", children: /* @__PURE__ */ jsx34(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5733
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx35("span", { className: "text-2xl", children: /* @__PURE__ */ jsx35(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5723
5734
  },
5724
5735
  index3
5725
- )) }) : /* @__PURE__ */ jsx34(
5736
+ )) }) : /* @__PURE__ */ jsx35(
5726
5737
  ShowMaterialMediaByContentType_default,
5727
5738
  {
5728
5739
  contentType: contentMap.type,
@@ -5736,13 +5747,13 @@ var MCMAActivityMaterialContent = ({
5736
5747
  index2
5737
5748
  );
5738
5749
  }
5739
- ) }) : /* @__PURE__ */ jsx34("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
5750
+ ) }) : /* @__PURE__ */ jsx35("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
5740
5751
  answerMap[materialKey]
5741
- ).map((inputPart, index2) => /* @__PURE__ */ jsx34(
5752
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx35(
5742
5753
  "span",
5743
5754
  {
5744
5755
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5745
- children: inputPart.isEquation ? /* @__PURE__ */ jsx34("span", { className: "text-2xl", children: /* @__PURE__ */ jsx34(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5756
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx35("span", { className: "text-2xl", children: /* @__PURE__ */ jsx35(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5746
5757
  },
5747
5758
  index2
5748
5759
  )) }, materialKey)
@@ -5752,7 +5763,7 @@ var MCMAActivityMaterialContent = ({
5752
5763
  var MCMAActivityMaterialContent_default = MCMAActivityMaterialContent;
5753
5764
 
5754
5765
  // src/components/activities/MCMAActivityContent.tsx
5755
- import { jsx as jsx35, jsxs as jsxs24 } from "react/jsx-runtime";
5766
+ import { jsx as jsx36, jsxs as jsxs24 } from "react/jsx-runtime";
5756
5767
  var MCMAActivityContent = ({
5757
5768
  answer,
5758
5769
  data,
@@ -5780,10 +5791,10 @@ var MCMAActivityContent = ({
5780
5791
  changeAnswer(answer2);
5781
5792
  };
5782
5793
  return /* @__PURE__ */ jsxs24("div", { className: "flex flex-row flex-wrap", children: [
5783
- /* @__PURE__ */ jsx35("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx35(ActivityBodyContent_default, { bodyMap: MCMABodyMap, templateType: "MCMA" }) }),
5784
- /* @__PURE__ */ jsx35("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx35(DividerLine_default, {}) }),
5785
- /* @__PURE__ */ jsx35("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx35(VerticalDividerLine_default, {}) }),
5786
- /* @__PURE__ */ jsx35("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx35(
5794
+ /* @__PURE__ */ jsx36("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx36(ActivityBodyContent_default, { bodyMap: MCMABodyMap, templateType: "MCMA" }) }),
5795
+ /* @__PURE__ */ jsx36("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx36(DividerLine_default, {}) }),
5796
+ /* @__PURE__ */ jsx36("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx36(VerticalDividerLine_default, {}) }),
5797
+ /* @__PURE__ */ jsx36("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx36(
5787
5798
  MCMAActivityMaterialContent_default,
5788
5799
  {
5789
5800
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5801,7 +5812,7 @@ var MCMAActivityContent_default = MCMAActivityContent;
5801
5812
 
5802
5813
  // src/components/activities/material-content/MCSAActivityMaterialContent.tsx
5803
5814
  import { InlineMath as InlineMath7 } from "react-katex";
5804
- import { jsx as jsx36, jsxs as jsxs25 } from "react/jsx-runtime";
5815
+ import { jsx as jsx37, jsxs as jsxs25 } from "react/jsx-runtime";
5805
5816
  var MCSAActivityMaterialContent = ({
5806
5817
  uniqueValue,
5807
5818
  answer,
@@ -5831,10 +5842,10 @@ var MCSAActivityMaterialContent = ({
5831
5842
  const answerMap = retrieveAnswerMap();
5832
5843
  const correctAnswer = retrieveCorrectAnswer();
5833
5844
  return Object.keys(materialMap).map((materialKey, index) => {
5834
- return /* @__PURE__ */ jsx36("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs25("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5835
- /* @__PURE__ */ jsx36("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx36("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5836
- /* @__PURE__ */ jsx36("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx36(DividerLine_default, {}) }),
5837
- checkCanAnswerQuestion() ? /* @__PURE__ */ jsx36(
5845
+ return /* @__PURE__ */ jsx37("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs25("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5846
+ /* @__PURE__ */ jsx37("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx37("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5847
+ /* @__PURE__ */ jsx37("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx37(DividerLine_default, {}) }),
5848
+ checkCanAnswerQuestion() ? /* @__PURE__ */ jsx37(
5838
5849
  "div",
5839
5850
  {
5840
5851
  className: `flex flex-row w-full ${Object.keys(materialMap[materialKey]).length <= 4 ? "justify-center" : ""} flex-wrap`,
@@ -5853,7 +5864,7 @@ var MCSAActivityMaterialContent = ({
5853
5864
  onChange(answer, materialKey, materialSubKey);
5854
5865
  },
5855
5866
  children: [
5856
- /* @__PURE__ */ jsx36(
5867
+ /* @__PURE__ */ jsx37(
5857
5868
  BaseImage_default,
5858
5869
  {
5859
5870
  src: answerMap[materialKey] === materialSubKey ? "/icons/item-element.webp" : "/icons/not-selected-item-element.webp",
@@ -5863,16 +5874,16 @@ var MCSAActivityMaterialContent = ({
5863
5874
  }
5864
5875
  }
5865
5876
  ),
5866
- /* @__PURE__ */ jsx36("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx36("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5877
+ /* @__PURE__ */ jsx37("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx37("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5867
5878
  materialSubKey
5868
- ).map((inputPart, index3) => /* @__PURE__ */ jsx36(
5879
+ ).map((inputPart, index3) => /* @__PURE__ */ jsx37(
5869
5880
  "span",
5870
5881
  {
5871
5882
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5872
- children: inputPart.isEquation ? /* @__PURE__ */ jsx36("span", { className: "text-2xl", children: /* @__PURE__ */ jsx36(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5883
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx37("span", { className: "text-2xl", children: /* @__PURE__ */ jsx37(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5873
5884
  },
5874
5885
  index3
5875
- )) }) : /* @__PURE__ */ jsx36(
5886
+ )) }) : /* @__PURE__ */ jsx37(
5876
5887
  ShowMaterialMediaByContentType_default,
5877
5888
  {
5878
5889
  contentType: contentMap.type,
@@ -5888,13 +5899,13 @@ var MCSAActivityMaterialContent = ({
5888
5899
  }
5889
5900
  )
5890
5901
  }
5891
- ) : /* @__PURE__ */ jsx36("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5902
+ ) : /* @__PURE__ */ jsx37("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5892
5903
  answerMap[materialKey]
5893
- ).map((inputPart, index2) => /* @__PURE__ */ jsx36(
5904
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx37(
5894
5905
  "span",
5895
5906
  {
5896
5907
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5897
- children: inputPart.isEquation ? /* @__PURE__ */ jsx36("span", { className: "text-2xl", children: /* @__PURE__ */ jsx36(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5908
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx37("span", { className: "text-2xl", children: /* @__PURE__ */ jsx37(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5898
5909
  },
5899
5910
  index2
5900
5911
  )) })
@@ -5904,7 +5915,7 @@ var MCSAActivityMaterialContent = ({
5904
5915
  var MCSAActivityMaterialContent_default = MCSAActivityMaterialContent;
5905
5916
 
5906
5917
  // src/components/activities/MCSAActivityContent.tsx
5907
- import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
5918
+ import { jsx as jsx38, jsxs as jsxs26 } from "react/jsx-runtime";
5908
5919
  var MCSAActivityContent = ({
5909
5920
  answer,
5910
5921
  data,
@@ -5925,10 +5936,10 @@ var MCSAActivityContent = ({
5925
5936
  changeAnswer(answer2);
5926
5937
  };
5927
5938
  return /* @__PURE__ */ jsxs26("div", { className: "flex flex-row flex-wrap", children: [
5928
- /* @__PURE__ */ jsx37("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx37(ActivityBodyContent_default, { bodyMap: MCSABodyMap, templateType: "MCSA" }) }),
5929
- /* @__PURE__ */ jsx37("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx37(DividerLine_default, {}) }),
5930
- /* @__PURE__ */ jsx37("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx37(VerticalDividerLine_default, {}) }),
5931
- /* @__PURE__ */ jsx37("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx37(
5939
+ /* @__PURE__ */ jsx38("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx38(ActivityBodyContent_default, { bodyMap: MCSABodyMap, templateType: "MCSA" }) }),
5940
+ /* @__PURE__ */ jsx38("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx38(DividerLine_default, {}) }),
5941
+ /* @__PURE__ */ jsx38("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx38(VerticalDividerLine_default, {}) }),
5942
+ /* @__PURE__ */ jsx38("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx38(
5932
5943
  MCSAActivityMaterialContent_default,
5933
5944
  {
5934
5945
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5973,7 +5984,7 @@ var retrieveDocumentTypeFromExtension = (format) => {
5973
5984
  };
5974
5985
 
5975
5986
  // src/components/activities/material-content/OpenEndedActivityMaterialContent.tsx
5976
- import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
5987
+ import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs27 } from "react/jsx-runtime";
5977
5988
  var OpenEndedActivityMaterialContent = ({
5978
5989
  answer,
5979
5990
  contentMap,
@@ -6003,7 +6014,7 @@ var OpenEndedActivityMaterialContent = ({
6003
6014
  documentType = retrieveDocumentTypeFromExtension(extension);
6004
6015
  }
6005
6016
  if (documentType === "IMAGE") {
6006
- return /* @__PURE__ */ jsx38("div", { className: "flex flex-col justify-center items-center my-5", children: /* @__PURE__ */ jsx38(
6017
+ return /* @__PURE__ */ jsx39("div", { className: "flex flex-col justify-center items-center my-5", children: /* @__PURE__ */ jsx39(
6007
6018
  BaseImage_default,
6008
6019
  {
6009
6020
  src: answerMapAnswer,
@@ -6013,9 +6024,9 @@ var OpenEndedActivityMaterialContent = ({
6013
6024
  }
6014
6025
  ) });
6015
6026
  } else if (documentType === "PDF") {
6016
- return /* @__PURE__ */ jsx38(BasePDF_default, { file: answerMapAnswer });
6027
+ return /* @__PURE__ */ jsx39(BasePDF_default, { file: answerMapAnswer });
6017
6028
  } else if (documentType === "AUDIO") {
6018
- return /* @__PURE__ */ jsx38("div", { className: "h-[56px]", children: /* @__PURE__ */ jsx38(
6029
+ return /* @__PURE__ */ jsx39("div", { className: "h-[56px]", children: /* @__PURE__ */ jsx39(
6019
6030
  "audio",
6020
6031
  {
6021
6032
  className: "h-full w-full rounded-catchup-xlarge",
@@ -6026,7 +6037,7 @@ var OpenEndedActivityMaterialContent = ({
6026
6037
  }
6027
6038
  ) });
6028
6039
  } else if (documentType === "TEXT") {
6029
- return /* @__PURE__ */ jsx38(
6040
+ return /* @__PURE__ */ jsx39(
6030
6041
  InputGroup_default,
6031
6042
  {
6032
6043
  type: "textarea",
@@ -6045,7 +6056,7 @@ var OpenEndedActivityMaterialContent = ({
6045
6056
  const answerMapAnswer = answerMap2["ANSWER"];
6046
6057
  const extension = answerMapAnswer.split(".").pop();
6047
6058
  const documentType = retrieveDocumentTypeFromExtension(extension);
6048
- return /* @__PURE__ */ jsx38(Fragment6, { children: documentType === "IMAGE" ? /* @__PURE__ */ jsx38("div", { className: "flex flex-col justify-center items-center my-5", children: /* @__PURE__ */ jsx38(
6059
+ return /* @__PURE__ */ jsx39(Fragment6, { children: documentType === "IMAGE" ? /* @__PURE__ */ jsx39("div", { className: "flex flex-col justify-center items-center my-5", children: /* @__PURE__ */ jsx39(
6049
6060
  BaseImage_default,
6050
6061
  {
6051
6062
  src: answerMapAnswer,
@@ -6053,11 +6064,11 @@ var OpenEndedActivityMaterialContent = ({
6053
6064
  size: "custom",
6054
6065
  className: "w-[80%] rounded-catchup-xlarge"
6055
6066
  }
6056
- ) }) : documentType === "PDF" ? /* @__PURE__ */ jsx38("div", { className: "flex flex-col justify-center items-center my-5", children: /* @__PURE__ */ jsx38(BasePDF_default, { file: answerMapAnswer }) }) : null });
6067
+ ) }) : documentType === "PDF" ? /* @__PURE__ */ jsx39("div", { className: "flex flex-col justify-center items-center my-5", children: /* @__PURE__ */ jsx39(BasePDF_default, { file: answerMapAnswer }) }) : null });
6057
6068
  };
6058
6069
  const RenderAudioContent = (answerMap2) => {
6059
6070
  const answerMapAnswer = answerMap2["ANSWER"];
6060
- return /* @__PURE__ */ jsx38("div", { className: "h-[56px]", children: /* @__PURE__ */ jsx38(
6071
+ return /* @__PURE__ */ jsx39("div", { className: "h-[56px]", children: /* @__PURE__ */ jsx39(
6061
6072
  "audio",
6062
6073
  {
6063
6074
  className: "h-full w-full rounded-catchup-xlarge",
@@ -6069,16 +6080,16 @@ var OpenEndedActivityMaterialContent = ({
6069
6080
  ) });
6070
6081
  };
6071
6082
  const answerMap = retrieveAnswerMap();
6072
- return /* @__PURE__ */ jsx38(Fragment6, { children: /* @__PURE__ */ jsxs27("div", { className: "", children: [
6073
- /* @__PURE__ */ jsx38("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx38("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_open_ended_text") }) }),
6074
- /* @__PURE__ */ jsx38("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx38(DividerLine_default, {}) }),
6083
+ return /* @__PURE__ */ jsx39(Fragment6, { children: /* @__PURE__ */ jsxs27("div", { className: "", children: [
6084
+ /* @__PURE__ */ jsx39("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx39("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_open_ended_text") }) }),
6085
+ /* @__PURE__ */ jsx39("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx39(DividerLine_default, {}) }),
6075
6086
  contentMap.type === "TEXT" ? RenderTextContent(answerMap) : contentMap.type === "IMAGE" ? RenderImageContent(answerMap) : contentMap.type === "AUDIO" ? RenderAudioContent(answerMap) : null
6076
6087
  ] }) });
6077
6088
  };
6078
6089
  var OpenEndedActivityMaterialContent_default = OpenEndedActivityMaterialContent;
6079
6090
 
6080
6091
  // src/components/activities/OpenEndedActivityContent.tsx
6081
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs28 } from "react/jsx-runtime";
6092
+ import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
6082
6093
  var OpenEndedActivityContent = ({
6083
6094
  answer,
6084
6095
  data,
@@ -6098,11 +6109,11 @@ var OpenEndedActivityContent = ({
6098
6109
  changeAnswer(answer2);
6099
6110
  };
6100
6111
  return /* @__PURE__ */ jsxs28("div", { className: "flex flex-row flex-wrap", children: [
6101
- /* @__PURE__ */ jsx39(
6112
+ /* @__PURE__ */ jsx40(
6102
6113
  "div",
6103
6114
  {
6104
6115
  className: `${showMaterialContent ? isFullScreen ? "w-full" : "w-full md:w-[40%]" : "w-full"}`,
6105
- children: /* @__PURE__ */ jsx39(
6116
+ children: /* @__PURE__ */ jsx40(
6106
6117
  ActivityBodyContent_default,
6107
6118
  {
6108
6119
  bodyMap: openEndedBodyMap,
@@ -6112,15 +6123,15 @@ var OpenEndedActivityContent = ({
6112
6123
  }
6113
6124
  ),
6114
6125
  showMaterialContent ? /* @__PURE__ */ jsxs28(Fragment7, { children: [
6115
- /* @__PURE__ */ jsx39(
6126
+ /* @__PURE__ */ jsx40(
6116
6127
  "div",
6117
6128
  {
6118
6129
  className: `${isFullScreen ? "contents" : "contents md:hidden"}`,
6119
- children: /* @__PURE__ */ jsx39(DividerLine_default, {})
6130
+ children: /* @__PURE__ */ jsx40(DividerLine_default, {})
6120
6131
  }
6121
6132
  ),
6122
- /* @__PURE__ */ jsx39("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx39(VerticalDividerLine_default, {}) }),
6123
- /* @__PURE__ */ jsx39("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx39(
6133
+ /* @__PURE__ */ jsx40("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx40(VerticalDividerLine_default, {}) }),
6134
+ /* @__PURE__ */ jsx40("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx40(
6124
6135
  OpenEndedActivityMaterialContent_default,
6125
6136
  {
6126
6137
  answer,
@@ -6142,7 +6153,7 @@ import { InlineMath as InlineMath8 } from "react-katex";
6142
6153
  // src/components/dnds/DraggableDroppableItem.tsx
6143
6154
  import { useRef as useRef6 } from "react";
6144
6155
  import { useDrag as useDrag2, useDrop as useDrop5 } from "react-dnd";
6145
- import { jsx as jsx40 } from "react/jsx-runtime";
6156
+ import { jsx as jsx41 } from "react/jsx-runtime";
6146
6157
  var DraggableDroppableItem = ({
6147
6158
  item,
6148
6159
  type,
@@ -6179,19 +6190,19 @@ var DraggableDroppableItem = ({
6179
6190
  });
6180
6191
  const opacity = isDragging ? 0.4 : 1;
6181
6192
  drag(drop(ref));
6182
- return /* @__PURE__ */ jsx40(
6193
+ return /* @__PURE__ */ jsx41(
6183
6194
  "div",
6184
6195
  {
6185
6196
  className: `${isDragging ? "w-[0px] opacity-0" : "w-full opacity-100"} transition-all duration-500`,
6186
6197
  ref: dropRef,
6187
- children: /* @__PURE__ */ jsx40("div", { ref, className: "w-full", style: { opacity }, children: component })
6198
+ children: /* @__PURE__ */ jsx41("div", { ref, className: "w-full", style: { opacity }, children: component })
6188
6199
  }
6189
6200
  );
6190
6201
  };
6191
6202
  var DraggableDroppableItem_default = DraggableDroppableItem;
6192
6203
 
6193
6204
  // src/components/activities/material-content/OrderingActivityMaterialContent.tsx
6194
- import { jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
6205
+ import { jsx as jsx42, jsxs as jsxs29 } from "react/jsx-runtime";
6195
6206
  var OrderingActivityMaterialContent = ({
6196
6207
  uniqueValue,
6197
6208
  answer,
@@ -6268,12 +6279,12 @@ var OrderingActivityMaterialContent = ({
6268
6279
  return 0;
6269
6280
  };
6270
6281
  const answerMap = retrieveAnswerMap();
6271
- return /* @__PURE__ */ jsx41("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
6282
+ return /* @__PURE__ */ jsx42("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
6272
6283
  const learnerAnswerState = checkAnswerState(
6273
6284
  answerMap[materialKey] + "",
6274
6285
  index + ""
6275
6286
  );
6276
- return /* @__PURE__ */ jsx41("div", { className: "w-full lg:w-1/2", children: /* @__PURE__ */ jsxs29(
6287
+ return /* @__PURE__ */ jsx42("div", { className: "w-full lg:w-1/2", children: /* @__PURE__ */ jsxs29(
6277
6288
  "div",
6278
6289
  {
6279
6290
  className: `flex flex-row items-center my-4 mx-2`,
@@ -6281,26 +6292,26 @@ var OrderingActivityMaterialContent = ({
6281
6292
  marginTop: view === "PC" ? calculateMarginTop(parseFloat(materialKey)) : 0
6282
6293
  },
6283
6294
  children: [
6284
- /* @__PURE__ */ jsx41("div", { className: "mr-3", children: /* @__PURE__ */ jsx41(
6295
+ /* @__PURE__ */ jsx42("div", { className: "mr-3", children: /* @__PURE__ */ jsx42(
6285
6296
  "div",
6286
6297
  {
6287
6298
  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`,
6288
- children: /* @__PURE__ */ jsx41(
6299
+ children: /* @__PURE__ */ jsx42(
6289
6300
  "div",
6290
6301
  {
6291
6302
  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]`,
6292
- children: /* @__PURE__ */ jsx41("p", { className: "", children: parseFloat(materialKey) + 1 })
6303
+ children: /* @__PURE__ */ jsx42("p", { className: "", children: parseFloat(materialKey) + 1 })
6293
6304
  }
6294
6305
  )
6295
6306
  }
6296
6307
  ) }),
6297
- /* @__PURE__ */ jsx41(
6308
+ /* @__PURE__ */ jsx42(
6298
6309
  DraggableDroppableItem_default,
6299
6310
  {
6300
6311
  item: { index: materialKey },
6301
6312
  type: "ORDERING",
6302
6313
  dropRef: drop,
6303
- component: /* @__PURE__ */ jsx41(
6314
+ component: /* @__PURE__ */ jsx42(
6304
6315
  "div",
6305
6316
  {
6306
6317
  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"}`,
@@ -6309,16 +6320,16 @@ var OrderingActivityMaterialContent = ({
6309
6320
  setSelectedKey(materialKey);
6310
6321
  }
6311
6322
  },
6312
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx41("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6323
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx42("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6313
6324
  materialMap[answerMap[materialKey]]
6314
- ).map((inputPart, index2) => /* @__PURE__ */ jsx41(
6325
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx42(
6315
6326
  "span",
6316
6327
  {
6317
6328
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6318
- children: inputPart.isEquation ? /* @__PURE__ */ jsx41("span", { className: "text-2xl", children: /* @__PURE__ */ jsx41(InlineMath8, { math: inputPart.value }) }) : inputPart.value
6329
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx42("span", { className: "text-2xl", children: /* @__PURE__ */ jsx42(InlineMath8, { math: inputPart.value }) }) : inputPart.value
6319
6330
  },
6320
6331
  index2
6321
- )) }) : /* @__PURE__ */ jsx41(
6332
+ )) }) : /* @__PURE__ */ jsx42(
6322
6333
  ShowMaterialMediaByContentType_default,
6323
6334
  {
6324
6335
  contentType: contentMap.type,
@@ -6350,7 +6361,7 @@ var OrderingActivityMaterialContent = ({
6350
6361
  var OrderingActivityMaterialContent_default = OrderingActivityMaterialContent;
6351
6362
 
6352
6363
  // src/components/activities/OrderingActivityContent.tsx
6353
- import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs30 } from "react/jsx-runtime";
6364
+ import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs30 } from "react/jsx-runtime";
6354
6365
  var OrderingActivityContent = ({
6355
6366
  answer,
6356
6367
  data,
@@ -6374,15 +6385,15 @@ var OrderingActivityContent = ({
6374
6385
  changeAnswer(answer2);
6375
6386
  };
6376
6387
  return /* @__PURE__ */ jsxs30(Fragment8, { children: [
6377
- /* @__PURE__ */ jsx42(
6388
+ /* @__PURE__ */ jsx43(
6378
6389
  ActivityBodyContent_default,
6379
6390
  {
6380
6391
  bodyMap: orderingBodyMap,
6381
6392
  templateType: "ORDERING"
6382
6393
  }
6383
6394
  ),
6384
- /* @__PURE__ */ jsx42(DividerLine_default, {}),
6385
- /* @__PURE__ */ jsx42(
6395
+ /* @__PURE__ */ jsx43(DividerLine_default, {}),
6396
+ /* @__PURE__ */ jsx43(
6386
6397
  OrderingActivityMaterialContent_default,
6387
6398
  {
6388
6399
  uniqueValue: JSON.stringify(data.contentMap),
@@ -6402,7 +6413,7 @@ var OrderingActivityContent_default = OrderingActivityContent;
6402
6413
  // src/components/activities/material-content/TrueFalseActivityMaterialContent.tsx
6403
6414
  import { useEffect as useEffect13, useState as useState23 } from "react";
6404
6415
  import { InlineMath as InlineMath9 } from "react-katex";
6405
- import { Fragment as Fragment9, jsx as jsx43, jsxs as jsxs31 } from "react/jsx-runtime";
6416
+ import { Fragment as Fragment9, jsx as jsx44, jsxs as jsxs31 } from "react/jsx-runtime";
6406
6417
  var TrueFalseActivityMaterialContent = ({
6407
6418
  uniqueValue,
6408
6419
  answer,
@@ -6456,13 +6467,13 @@ var TrueFalseActivityMaterialContent = ({
6456
6467
  };
6457
6468
  const answerMap = retrieveAnswerMap();
6458
6469
  return /* @__PURE__ */ jsxs31("div", { className: "", children: [
6459
- /* @__PURE__ */ jsx43("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx43("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_true_false_text") }) }),
6460
- /* @__PURE__ */ jsx43("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx43(DividerLine_default, {}) }),
6470
+ /* @__PURE__ */ jsx44("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx44("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_true_false_text") }) }),
6471
+ /* @__PURE__ */ jsx44("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx44(DividerLine_default, {}) }),
6461
6472
  /* @__PURE__ */ jsxs31("div", { className: "flex flex-row justify-end items-center gap-x-2", children: [
6462
- /* @__PURE__ */ jsx43("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx43("p", { className: "font-bold text-lg", children: i18n_default.t("true") }) }),
6463
- /* @__PURE__ */ jsx43("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx43("p", { className: "font-bold text-lg", children: i18n_default.t("false") }) })
6473
+ /* @__PURE__ */ jsx44("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx44("p", { className: "font-bold text-lg", children: i18n_default.t("true") }) }),
6474
+ /* @__PURE__ */ jsx44("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx44("p", { className: "font-bold text-lg", children: i18n_default.t("false") }) })
6464
6475
  ] }),
6465
- checkCanAnswerQuestion() ? /* @__PURE__ */ jsx43("div", { className: `flex flex-row w-full justify-center flex-wrap`, children: shuffleOptionList.map((shuffleOption, index) => {
6476
+ checkCanAnswerQuestion() ? /* @__PURE__ */ jsx44("div", { className: `flex flex-row w-full justify-center flex-wrap`, children: shuffleOptionList.map((shuffleOption, index) => {
6466
6477
  const correctAnswer = materialMap.trueList.find(
6467
6478
  (trueItem) => trueItem === shuffleOption
6468
6479
  ) !== void 0 ? "TRUE" : "FALSE";
@@ -6478,16 +6489,16 @@ var TrueFalseActivityMaterialContent = ({
6478
6489
  {
6479
6490
  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" : ""}`,
6480
6491
  children: [
6481
- /* @__PURE__ */ jsx43("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx43("p", { className: "text-xl p-2 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6492
+ /* @__PURE__ */ jsx44("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx44("p", { className: "text-xl p-2 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6482
6493
  shuffleOption
6483
- ).map((inputPart, index2) => /* @__PURE__ */ jsx43(
6494
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx44(
6484
6495
  "span",
6485
6496
  {
6486
6497
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6487
- children: inputPart.isEquation ? /* @__PURE__ */ jsx43("span", { className: "text-2xl", children: /* @__PURE__ */ jsx43(InlineMath9, { math: inputPart.value }) }) : inputPart.value
6498
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx44("span", { className: "text-2xl", children: /* @__PURE__ */ jsx44(InlineMath9, { math: inputPart.value }) }) : inputPart.value
6488
6499
  },
6489
6500
  index2
6490
- )) }) : /* @__PURE__ */ jsx43(
6501
+ )) }) : /* @__PURE__ */ jsx44(
6491
6502
  ShowMaterialMediaByContentType_default,
6492
6503
  {
6493
6504
  contentType: contentMap.type,
@@ -6497,7 +6508,7 @@ var TrueFalseActivityMaterialContent = ({
6497
6508
  `${uniqueValue}-${index}`
6498
6509
  ) }),
6499
6510
  /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6500
- /* @__PURE__ */ jsx43("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx43("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx43(
6511
+ /* @__PURE__ */ jsx44("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx44("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx44(
6501
6512
  BaseImage_default,
6502
6513
  {
6503
6514
  src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -6508,7 +6519,7 @@ var TrueFalseActivityMaterialContent = ({
6508
6519
  }
6509
6520
  }
6510
6521
  ) }) }),
6511
- /* @__PURE__ */ jsx43("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx43("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx43(
6522
+ /* @__PURE__ */ jsx44("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx44("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx44(
6512
6523
  BaseImage_default,
6513
6524
  {
6514
6525
  src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -6526,12 +6537,12 @@ var TrueFalseActivityMaterialContent = ({
6526
6537
  );
6527
6538
  }) }) : /* @__PURE__ */ jsxs31(Fragment9, { children: [
6528
6539
  answerMap.trueList.map((item) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6529
- /* @__PURE__ */ jsx43("div", { className: "flex-1", children: /* @__PURE__ */ jsx43("p", { children: item }) }),
6530
- /* @__PURE__ */ jsx43("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx43("p", { className: "underline", children: i18n_default.t("true") }) })
6540
+ /* @__PURE__ */ jsx44("div", { className: "flex-1", children: /* @__PURE__ */ jsx44("p", { children: item }) }),
6541
+ /* @__PURE__ */ jsx44("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx44("p", { className: "underline", children: i18n_default.t("true") }) })
6531
6542
  ] })),
6532
6543
  answerMap.falseList.map((item) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6533
- /* @__PURE__ */ jsx43("div", { className: "flex-1", children: /* @__PURE__ */ jsx43("p", { children: item }) }),
6534
- /* @__PURE__ */ jsx43("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx43("p", { className: "underline", children: i18n_default.t("false") }) })
6544
+ /* @__PURE__ */ jsx44("div", { className: "flex-1", children: /* @__PURE__ */ jsx44("p", { children: item }) }),
6545
+ /* @__PURE__ */ jsx44("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx44("p", { className: "underline", children: i18n_default.t("false") }) })
6535
6546
  ] }))
6536
6547
  ] })
6537
6548
  ] });
@@ -6539,7 +6550,7 @@ var TrueFalseActivityMaterialContent = ({
6539
6550
  var TrueFalseActivityMaterialContent_default = TrueFalseActivityMaterialContent;
6540
6551
 
6541
6552
  // src/components/activities/TrueFalseActivityContent.tsx
6542
- import { jsx as jsx44, jsxs as jsxs32 } from "react/jsx-runtime";
6553
+ import { jsx as jsx45, jsxs as jsxs32 } from "react/jsx-runtime";
6543
6554
  var TrueFalseActivityContent = ({
6544
6555
  answer,
6545
6556
  data,
@@ -6590,16 +6601,16 @@ var TrueFalseActivityContent = ({
6590
6601
  changeAnswer(answer2);
6591
6602
  };
6592
6603
  return /* @__PURE__ */ jsxs32("div", { className: "flex flex-row flex-wrap", children: [
6593
- /* @__PURE__ */ jsx44("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[40%]"}`, children: /* @__PURE__ */ jsx44(
6604
+ /* @__PURE__ */ jsx45("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[40%]"}`, children: /* @__PURE__ */ jsx45(
6594
6605
  ActivityBodyContent_default,
6595
6606
  {
6596
6607
  bodyMap: trueFalseBodyMap,
6597
6608
  templateType: "GROUPING"
6598
6609
  }
6599
6610
  ) }),
6600
- /* @__PURE__ */ jsx44("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx44(DividerLine_default, {}) }),
6601
- /* @__PURE__ */ jsx44("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx44(VerticalDividerLine_default, {}) }),
6602
- /* @__PURE__ */ jsx44("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx44(
6611
+ /* @__PURE__ */ jsx45("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx45(DividerLine_default, {}) }),
6612
+ /* @__PURE__ */ jsx45("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx45(VerticalDividerLine_default, {}) }),
6613
+ /* @__PURE__ */ jsx45("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx45(
6603
6614
  TrueFalseActivityMaterialContent_default,
6604
6615
  {
6605
6616
  uniqueValue: JSON.stringify(data.contentMap),
@@ -6618,7 +6629,7 @@ var TrueFalseActivityContent_default = TrueFalseActivityContent;
6618
6629
 
6619
6630
  // src/components/activities/solution-content/ActivitySolutionContent.tsx
6620
6631
  import { InlineMath as InlineMath10 } from "react-katex";
6621
- import { jsx as jsx45, jsxs as jsxs33 } from "react/jsx-runtime";
6632
+ import { jsx as jsx46, jsxs as jsxs33 } from "react/jsx-runtime";
6622
6633
  var ActivitySolutionContent = ({
6623
6634
  activityTemplateType,
6624
6635
  data
@@ -6648,8 +6659,8 @@ var ActivitySolutionContent = ({
6648
6659
  return null;
6649
6660
  }
6650
6661
  if (!solutionMap || Object.keys(solutionMap).length === 0) return null;
6651
- return /* @__PURE__ */ jsx45("div", { className: "mx-2", children: /* @__PURE__ */ jsxs33("div", { className: "p-4 border-catchup-blue border-2 rounded-catchup-xlarge", children: [
6652
- /* @__PURE__ */ jsx45("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("solution") }),
6662
+ return /* @__PURE__ */ jsx46("div", { className: "mx-2", children: /* @__PURE__ */ jsxs33("div", { className: "p-4 border-catchup-blue border-2 rounded-catchup-xlarge", children: [
6663
+ /* @__PURE__ */ jsx46("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("solution") }),
6653
6664
  Object.keys(solutionMap).map((key) => {
6654
6665
  let currentItem;
6655
6666
  try {
@@ -6659,12 +6670,12 @@ var ActivitySolutionContent = ({
6659
6670
  return null;
6660
6671
  }
6661
6672
  const { value } = currentItem;
6662
- return /* @__PURE__ */ jsx45("div", { className: "my-3 text-xl", children: constructInputWithSpecialExpressionList(value).map(
6663
- (inputPart, partIndex) => /* @__PURE__ */ jsx45(
6673
+ return /* @__PURE__ */ jsx46("div", { className: "my-3 text-xl", children: constructInputWithSpecialExpressionList(value).map(
6674
+ (inputPart, partIndex) => /* @__PURE__ */ jsx46(
6664
6675
  "span",
6665
6676
  {
6666
6677
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6667
- children: inputPart.isEquation ? /* @__PURE__ */ jsx45("span", { className: "text-2xl", children: /* @__PURE__ */ jsx45(InlineMath10, { math: inputPart.value }) }) : inputPart.value
6678
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx46("span", { className: "text-2xl", children: /* @__PURE__ */ jsx46(InlineMath10, { math: inputPart.value }) }) : inputPart.value
6668
6679
  },
6669
6680
  `${key}_part_${partIndex}`
6670
6681
  )
@@ -6676,7 +6687,7 @@ var ActivitySolutionContent_default = ActivitySolutionContent;
6676
6687
 
6677
6688
  // src/components/activities/evaluation-rubric-content/ActivityEvaluationRubricContent.tsx
6678
6689
  import { InlineMath as InlineMath11 } from "react-katex";
6679
- import { jsx as jsx46, jsxs as jsxs34 } from "react/jsx-runtime";
6690
+ import { jsx as jsx47, jsxs as jsxs34 } from "react/jsx-runtime";
6680
6691
  var ActivityEvaluationRubricContent = ({
6681
6692
  activityTemplateType,
6682
6693
  data
@@ -6705,21 +6716,21 @@ var ActivityEvaluationRubricContent = ({
6705
6716
  }
6706
6717
  if (!evaluationRubricMap || Object.keys(evaluationRubricMap).length === 0)
6707
6718
  return null;
6708
- return /* @__PURE__ */ jsx46("div", { className: "mx-2", children: /* @__PURE__ */ jsxs34("div", { className: "p-4 border-catchup-gray-400 border-2 rounded-catchup-xlarge", children: [
6709
- /* @__PURE__ */ jsx46("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("evaluation_rubric") }),
6719
+ return /* @__PURE__ */ jsx47("div", { className: "mx-2", children: /* @__PURE__ */ jsxs34("div", { className: "p-4 border-catchup-gray-400 border-2 rounded-catchup-xlarge", children: [
6720
+ /* @__PURE__ */ jsx47("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("evaluation_rubric") }),
6710
6721
  Object.keys(evaluationRubricMap).map((key, index) => {
6711
6722
  const currentItem = JSON.parse(evaluationRubricMap[key]);
6712
6723
  const { value } = currentItem;
6713
- return /* @__PURE__ */ jsx46(
6724
+ return /* @__PURE__ */ jsx47(
6714
6725
  "p",
6715
6726
  {
6716
6727
  className: "my-1 text-xl whitespace-pre-wrap",
6717
6728
  children: constructInputWithSpecialExpressionList(value).map(
6718
- (inputPart, index2) => /* @__PURE__ */ jsx46(
6729
+ (inputPart, index2) => /* @__PURE__ */ jsx47(
6719
6730
  "span",
6720
6731
  {
6721
6732
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6722
- children: inputPart.isEquation ? /* @__PURE__ */ jsx46("span", { className: "text-2xl", children: /* @__PURE__ */ jsx46(InlineMath11, { math: inputPart.value }) }) : inputPart.value
6733
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx47("span", { className: "text-2xl", children: /* @__PURE__ */ jsx47(InlineMath11, { math: inputPart.value }) }) : inputPart.value
6723
6734
  },
6724
6735
  index2
6725
6736
  )
@@ -6736,13 +6747,13 @@ var ActivityEvaluationRubricContent_default = ActivityEvaluationRubricContent;
6736
6747
  import { useEffect as useEffect14, useState as useState24 } from "react";
6737
6748
 
6738
6749
  // src/components/boxes/SelectionBox.tsx
6739
- import { jsx as jsx47, jsxs as jsxs35 } from "react/jsx-runtime";
6750
+ import { jsx as jsx48, jsxs as jsxs35 } from "react/jsx-runtime";
6740
6751
  var SelectionBox = ({
6741
6752
  optionList,
6742
6753
  selectedId,
6743
6754
  handleSelectOnClick
6744
6755
  }) => {
6745
- return /* @__PURE__ */ jsx47("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx47(
6756
+ return /* @__PURE__ */ jsx48("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx48(
6746
6757
  "div",
6747
6758
  {
6748
6759
  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`,
@@ -6756,7 +6767,7 @@ var SelectionBox = ({
6756
6767
  children: [
6757
6768
  option.icon,
6758
6769
  /* @__PURE__ */ jsxs35("div", { className: "flex-1 flex flex-col items-center", children: [
6759
- /* @__PURE__ */ jsx47("p", { children: option.text }),
6770
+ /* @__PURE__ */ jsx48("p", { children: option.text }),
6760
6771
  option.subText ? /* @__PURE__ */ jsxs35("p", { className: "text-md", children: [
6761
6772
  "(",
6762
6773
  option.subText,
@@ -6773,7 +6784,7 @@ var SelectionBox = ({
6773
6784
  var SelectionBox_default = SelectionBox;
6774
6785
 
6775
6786
  // src/components/activities/ActivityPreviewByData.tsx
6776
- import { Fragment as Fragment10, jsx as jsx48, jsxs as jsxs36 } from "react/jsx-runtime";
6787
+ import { Fragment as Fragment10, jsx as jsx49, jsxs as jsxs36 } from "react/jsx-runtime";
6777
6788
  var ActivityPreviewByData = ({
6778
6789
  data,
6779
6790
  showType,
@@ -6834,8 +6845,8 @@ var ActivityPreviewByData = ({
6834
6845
  return /* @__PURE__ */ jsxs36("div", { children: [
6835
6846
  showType ? /* @__PURE__ */ jsxs36(Fragment10, { children: [
6836
6847
  /* @__PURE__ */ jsxs36("div", { className: "mb-4", children: [
6837
- showDescription ? /* @__PURE__ */ jsx48("div", { className: "my-2", children: /* @__PURE__ */ jsx48("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6838
- /* @__PURE__ */ jsx48(
6848
+ showDescription ? /* @__PURE__ */ jsx49("div", { className: "my-2", children: /* @__PURE__ */ jsx49("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6849
+ /* @__PURE__ */ jsx49(
6839
6850
  SelectionBox_default,
6840
6851
  {
6841
6852
  optionList,
@@ -6846,9 +6857,9 @@ var ActivityPreviewByData = ({
6846
6857
  }
6847
6858
  )
6848
6859
  ] }),
6849
- /* @__PURE__ */ jsx48(DividerLine_default, {})
6860
+ /* @__PURE__ */ jsx49(DividerLine_default, {})
6850
6861
  ] }) : null,
6851
- selectedType ? /* @__PURE__ */ jsx48("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6862
+ selectedType ? /* @__PURE__ */ jsx49("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6852
6863
  OrderingActivityContent_default,
6853
6864
  {
6854
6865
  answer,
@@ -6862,7 +6873,7 @@ var ActivityPreviewByData = ({
6862
6873
  showCorrectAnswer: true,
6863
6874
  isFullScreen
6864
6875
  }
6865
- ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6876
+ ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6866
6877
  DropdownActivityContent_default,
6867
6878
  {
6868
6879
  answer,
@@ -6876,7 +6887,7 @@ var ActivityPreviewByData = ({
6876
6887
  showCorrectAnswer: true,
6877
6888
  isFullScreen
6878
6889
  }
6879
- ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6890
+ ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6880
6891
  MCSAActivityContent_default,
6881
6892
  {
6882
6893
  answer,
@@ -6890,7 +6901,7 @@ var ActivityPreviewByData = ({
6890
6901
  showCorrectAnswer: true,
6891
6902
  isFullScreen
6892
6903
  }
6893
- ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6904
+ ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6894
6905
  MCMAActivityContent_default,
6895
6906
  {
6896
6907
  answer,
@@ -6904,7 +6915,7 @@ var ActivityPreviewByData = ({
6904
6915
  showCorrectAnswer: true,
6905
6916
  isFullScreen
6906
6917
  }
6907
- ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6918
+ ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6908
6919
  MatchingActivityContent_default,
6909
6920
  {
6910
6921
  answer,
@@ -6918,7 +6929,7 @@ var ActivityPreviewByData = ({
6918
6929
  showCorrectAnswer: true,
6919
6930
  isFullScreen
6920
6931
  }
6921
- ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6932
+ ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6922
6933
  GroupingActivityContent_default,
6923
6934
  {
6924
6935
  answer,
@@ -6932,7 +6943,7 @@ var ActivityPreviewByData = ({
6932
6943
  showCorrectAnswer: true,
6933
6944
  isFullScreen
6934
6945
  }
6935
- ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6946
+ ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6936
6947
  FillInTheBlanksActivityContent_default,
6937
6948
  {
6938
6949
  answer,
@@ -6946,7 +6957,7 @@ var ActivityPreviewByData = ({
6946
6957
  showCorrectAnswer: true,
6947
6958
  isFullScreen
6948
6959
  }
6949
- ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ jsx48(
6960
+ ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ jsx49(
6950
6961
  OpenEndedActivityContent_default,
6951
6962
  {
6952
6963
  answer,
@@ -6957,7 +6968,7 @@ var ActivityPreviewByData = ({
6957
6968
  data,
6958
6969
  isFullScreen
6959
6970
  }
6960
- ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ jsx48(
6971
+ ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ jsx49(
6961
6972
  TrueFalseActivityContent_default,
6962
6973
  {
6963
6974
  answer,
@@ -6972,14 +6983,14 @@ var ActivityPreviewByData = ({
6972
6983
  isFullScreen
6973
6984
  }
6974
6985
  ) : null }, selectedType) : null,
6975
- selectedType && showSolution ? /* @__PURE__ */ jsx48("div", { className: "my-4", children: /* @__PURE__ */ jsx48(
6986
+ selectedType && showSolution ? /* @__PURE__ */ jsx49("div", { className: "my-4", children: /* @__PURE__ */ jsx49(
6976
6987
  ActivitySolutionContent_default,
6977
6988
  {
6978
6989
  activityTemplateType: selectedType,
6979
6990
  data
6980
6991
  }
6981
6992
  ) }) : null,
6982
- selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx48("div", { className: "my-4", children: /* @__PURE__ */ jsx48(
6993
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx49("div", { className: "my-4", children: /* @__PURE__ */ jsx49(
6983
6994
  ActivityEvaluationRubricContent_default,
6984
6995
  {
6985
6996
  activityTemplateType: selectedType,
@@ -6992,7 +7003,7 @@ var ActivityPreviewByData_default = ActivityPreviewByData;
6992
7003
 
6993
7004
  // src/components/activities/ActivityPreviewByAnswerData.tsx
6994
7005
  import { useEffect as useEffect15, useState as useState25 } from "react";
6995
- import { Fragment as Fragment11, jsx as jsx49, jsxs as jsxs37 } from "react/jsx-runtime";
7006
+ import { Fragment as Fragment11, jsx as jsx50, jsxs as jsxs37 } from "react/jsx-runtime";
6996
7007
  var ActivityPreviewByAnswerData = ({
6997
7008
  data,
6998
7009
  showType = true,
@@ -7100,28 +7111,28 @@ var ActivityPreviewByAnswerData = ({
7100
7111
  };
7101
7112
  switch (selectedType) {
7102
7113
  case "ORDERING":
7103
- return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ jsx49(OrderingActivityContent_default, __spreadValues({}, commonProps)) : null;
7114
+ return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ jsx50(OrderingActivityContent_default, __spreadValues({}, commonProps)) : null;
7104
7115
  case "DROPDOWN":
7105
- return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ jsx49(DropdownActivityContent_default, __spreadValues({}, commonProps)) : null;
7116
+ return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ jsx50(DropdownActivityContent_default, __spreadValues({}, commonProps)) : null;
7106
7117
  case "MCSA":
7107
- return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ jsx49(MCSAActivityContent_default, __spreadValues({}, commonProps)) : null;
7118
+ return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ jsx50(MCSAActivityContent_default, __spreadValues({}, commonProps)) : null;
7108
7119
  case "MCMA":
7109
- return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ jsx49(MCMAActivityContent_default, __spreadValues({}, commonProps)) : null;
7120
+ return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ jsx50(MCMAActivityContent_default, __spreadValues({}, commonProps)) : null;
7110
7121
  case "MATCHING":
7111
- return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ jsx49(MatchingActivityContent_default, __spreadValues({}, commonProps)) : null;
7122
+ return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ jsx50(MatchingActivityContent_default, __spreadValues({}, commonProps)) : null;
7112
7123
  case "GROUPING":
7113
- return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ jsx49(GroupingActivityContent_default, __spreadValues({}, commonProps)) : null;
7124
+ return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ jsx50(GroupingActivityContent_default, __spreadValues({}, commonProps)) : null;
7114
7125
  case "FILL_IN_THE_BLANKS":
7115
- return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ jsx49(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps)) : null;
7126
+ return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ jsx50(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps)) : null;
7116
7127
  case "OPEN_ENDED":
7117
- return data.openEndedBodyMap ? /* @__PURE__ */ jsx49(
7128
+ return data.openEndedBodyMap ? /* @__PURE__ */ jsx50(
7118
7129
  OpenEndedActivityContent_default,
7119
7130
  __spreadProps(__spreadValues({}, commonProps), {
7120
7131
  showMaterialContent: true
7121
7132
  })
7122
7133
  ) : null;
7123
7134
  case "TRUE_FALSE":
7124
- return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ jsx49(TrueFalseActivityContent_default, __spreadValues({}, commonProps)) : null;
7135
+ return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ jsx50(TrueFalseActivityContent_default, __spreadValues({}, commonProps)) : null;
7125
7136
  default:
7126
7137
  return null;
7127
7138
  }
@@ -7130,8 +7141,8 @@ var ActivityPreviewByAnswerData = ({
7130
7141
  return /* @__PURE__ */ jsxs37("div", { children: [
7131
7142
  showType && optionList.length > 0 ? /* @__PURE__ */ jsxs37(Fragment11, { children: [
7132
7143
  /* @__PURE__ */ jsxs37("div", { className: "mb-4", children: [
7133
- showDescription ? /* @__PURE__ */ jsx49("div", { className: "my-2", children: /* @__PURE__ */ jsx49("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7134
- /* @__PURE__ */ jsx49(
7144
+ showDescription ? /* @__PURE__ */ jsx50("div", { className: "my-2", children: /* @__PURE__ */ jsx50("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7145
+ /* @__PURE__ */ jsx50(
7135
7146
  SelectionBox_default,
7136
7147
  {
7137
7148
  optionList,
@@ -7142,20 +7153,20 @@ var ActivityPreviewByAnswerData = ({
7142
7153
  }
7143
7154
  )
7144
7155
  ] }),
7145
- /* @__PURE__ */ jsx49(DividerLine_default, {})
7156
+ /* @__PURE__ */ jsx50(DividerLine_default, {})
7146
7157
  ] }) : null,
7147
7158
  /* @__PURE__ */ jsxs37("div", { className: "flex flex-col my-2 w-full p-5", children: [
7148
- ((_a = answer == null ? void 0 : answer.data[0]) == null ? void 0 : _a.isEmpty) ? /* @__PURE__ */ jsx49(ActivityEmptyContent_default, {}) : null,
7149
- selectedType ? /* @__PURE__ */ jsx49("div", { children: RenderSelectedActivityContent() }, selectedType) : null
7159
+ ((_a = answer == null ? void 0 : answer.data[0]) == null ? void 0 : _a.isEmpty) ? /* @__PURE__ */ jsx50(ActivityEmptyContent_default, {}) : null,
7160
+ selectedType ? /* @__PURE__ */ jsx50("div", { children: RenderSelectedActivityContent() }, selectedType) : null
7150
7161
  ] }),
7151
- selectedType && showSolution ? /* @__PURE__ */ jsx49("div", { className: "my-4", children: /* @__PURE__ */ jsx49(
7162
+ selectedType && showSolution ? /* @__PURE__ */ jsx50("div", { className: "my-4", children: /* @__PURE__ */ jsx50(
7152
7163
  ActivitySolutionContent_default,
7153
7164
  {
7154
7165
  activityTemplateType: selectedType,
7155
7166
  data
7156
7167
  }
7157
7168
  ) }) : null,
7158
- selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx49("div", { className: "my-4", children: /* @__PURE__ */ jsx49(
7169
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx50("div", { className: "my-4", children: /* @__PURE__ */ jsx50(
7159
7170
  ActivityEvaluationRubricContent_default,
7160
7171
  {
7161
7172
  activityTemplateType: selectedType,
@@ -7167,9 +7178,9 @@ var ActivityPreviewByAnswerData = ({
7167
7178
  var ActivityPreviewByAnswerData_default = ActivityPreviewByAnswerData;
7168
7179
 
7169
7180
  // src/components/dividers/BlueVerticalDividerLine.tsx
7170
- import { jsx as jsx50 } from "react/jsx-runtime";
7181
+ import { jsx as jsx51 } from "react/jsx-runtime";
7171
7182
  var BlueVerticalDividerLine = ({ opacity }) => {
7172
- return /* @__PURE__ */ jsx50(
7183
+ return /* @__PURE__ */ jsx51(
7173
7184
  "div",
7174
7185
  {
7175
7186
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -7179,7 +7190,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
7179
7190
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
7180
7191
 
7181
7192
  // src/components/groups/LeftTextRightInputGroup.tsx
7182
- import { jsx as jsx51, jsxs as jsxs38 } from "react/jsx-runtime";
7193
+ import { jsx as jsx52, jsxs as jsxs38 } from "react/jsx-runtime";
7183
7194
  var LeftTextRightInputGroup = ({
7184
7195
  type,
7185
7196
  title,
@@ -7190,8 +7201,8 @@ var LeftTextRightInputGroup = ({
7190
7201
  errorText
7191
7202
  }) => {
7192
7203
  return /* @__PURE__ */ jsxs38("div", { className: "w-full flex flex-row mx-2", children: [
7193
- /* @__PURE__ */ jsx51("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx51("p", { children: title }) }),
7194
- /* @__PURE__ */ jsx51("div", { className: "flex-1", children: /* @__PURE__ */ jsx51(
7204
+ /* @__PURE__ */ jsx52("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx52("p", { children: title }) }),
7205
+ /* @__PURE__ */ jsx52("div", { className: "flex-1", children: /* @__PURE__ */ jsx52(
7195
7206
  InputGroup_default,
7196
7207
  {
7197
7208
  type,
@@ -7208,7 +7219,7 @@ var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
7208
7219
 
7209
7220
  // src/components/groups/PageTravelGroup.tsx
7210
7221
  import { useEffect as useEffect16, useState as useState26 } from "react";
7211
- import { jsx as jsx52, jsxs as jsxs39 } from "react/jsx-runtime";
7222
+ import { jsx as jsx53, jsxs as jsxs39 } from "react/jsx-runtime";
7212
7223
  var PageTravelGroup = ({
7213
7224
  isImageProcessing,
7214
7225
  handleImageProcessing,
@@ -7227,7 +7238,7 @@ var PageTravelGroup = ({
7227
7238
  setNewPageNumber(pageNumber + 1);
7228
7239
  }, [pageNumber]);
7229
7240
  return /* @__PURE__ */ jsxs39("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7230
- pageNumber === 0 ? null : /* @__PURE__ */ jsx52("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx52(
7241
+ pageNumber === 0 ? null : /* @__PURE__ */ jsx53("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx53(
7231
7242
  BaseImage_default,
7232
7243
  {
7233
7244
  size: "small",
@@ -7245,7 +7256,7 @@ var PageTravelGroup = ({
7245
7256
  }
7246
7257
  }
7247
7258
  ) }),
7248
- Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx52("div", { className: "px-2", children: /* @__PURE__ */ jsx52(
7259
+ Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx53("div", { className: "px-2", children: /* @__PURE__ */ jsx53(
7249
7260
  "p",
7250
7261
  {
7251
7262
  className: `${pageNumber === index ? "text-2xl" : "text-md"} cursor-pointer`,
@@ -7260,7 +7271,7 @@ var PageTravelGroup = ({
7260
7271
  children: index + 1
7261
7272
  }
7262
7273
  ) }, index)),
7263
- totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ jsx52("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx52(
7274
+ totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ jsx53("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx53(
7264
7275
  BaseImage_default,
7265
7276
  {
7266
7277
  size: "small",
@@ -7278,7 +7289,7 @@ var PageTravelGroup = ({
7278
7289
  }
7279
7290
  }
7280
7291
  ) }),
7281
- /* @__PURE__ */ jsx52("div", { children: /* @__PURE__ */ jsx52(
7292
+ /* @__PURE__ */ jsx53("div", { children: /* @__PURE__ */ jsx53(
7282
7293
  "input",
7283
7294
  {
7284
7295
  className: `w-[90px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`,
@@ -7302,14 +7313,14 @@ var PageTravelGroup = ({
7302
7313
  var PageTravelGroup_default = PageTravelGroup;
7303
7314
 
7304
7315
  // src/components/boxes/SelectionCheckbox.tsx
7305
- import { jsx as jsx53, jsxs as jsxs40 } from "react/jsx-runtime";
7316
+ import { jsx as jsx54, jsxs as jsxs40 } from "react/jsx-runtime";
7306
7317
  var SelectionCheckbox = ({
7307
7318
  optionList,
7308
7319
  selectedIdList,
7309
7320
  handleSelectOnClick,
7310
7321
  handleRemoveOnClick
7311
7322
  }) => {
7312
- return /* @__PURE__ */ jsx53("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx53(
7323
+ return /* @__PURE__ */ jsx54("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx54(
7313
7324
  "div",
7314
7325
  {
7315
7326
  className: `${selectedIdList.findIndex(
@@ -7331,7 +7342,7 @@ var SelectionCheckbox = ({
7331
7342
  (selectedId) => selectedId === option.id
7332
7343
  ) > -1 ? "opacity-100" : "opacity-50"}`,
7333
7344
  children: [
7334
- /* @__PURE__ */ jsx53(
7345
+ /* @__PURE__ */ jsx54(
7335
7346
  BaseImage_default,
7336
7347
  {
7337
7348
  src: selectedIdList.findIndex(
@@ -7341,7 +7352,7 @@ var SelectionCheckbox = ({
7341
7352
  size: "small"
7342
7353
  }
7343
7354
  ),
7344
- /* @__PURE__ */ jsx53("div", { className: "flex-1", children: /* @__PURE__ */ jsx53("p", { children: option.text }) })
7355
+ /* @__PURE__ */ jsx54("div", { className: "flex-1", children: /* @__PURE__ */ jsx54("p", { children: option.text }) })
7345
7356
  ]
7346
7357
  }
7347
7358
  )
@@ -7352,7 +7363,7 @@ var SelectionCheckbox = ({
7352
7363
  var SelectionCheckbox_default = SelectionCheckbox;
7353
7364
 
7354
7365
  // src/components/tabs/SelectionTab.tsx
7355
- import { jsx as jsx54, jsxs as jsxs41 } from "react/jsx-runtime";
7366
+ import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
7356
7367
  var SelectionTab = ({
7357
7368
  optionList,
7358
7369
  selectedId,
@@ -7362,7 +7373,7 @@ var SelectionTab = ({
7362
7373
  textColor,
7363
7374
  borderColor
7364
7375
  }) => {
7365
- return /* @__PURE__ */ jsx54("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__ */ jsxs41(
7376
+ return /* @__PURE__ */ jsx55("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__ */ jsxs41(
7366
7377
  "div",
7367
7378
  {
7368
7379
  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`,
@@ -7370,8 +7381,8 @@ var SelectionTab = ({
7370
7381
  handleSelectOnClick(option.id);
7371
7382
  },
7372
7383
  children: [
7373
- /* @__PURE__ */ jsx54("p", { className: "text-lg", children: option.title }),
7374
- option.subTitle ? /* @__PURE__ */ jsx54("p", { className: "text-md", children: option.subTitle }) : null
7384
+ /* @__PURE__ */ jsx55("p", { className: "text-lg", children: option.title }),
7385
+ option.subTitle ? /* @__PURE__ */ jsx55("p", { className: "text-md", children: option.subTitle }) : null
7375
7386
  ]
7376
7387
  },
7377
7388
  index
@@ -7380,20 +7391,20 @@ var SelectionTab = ({
7380
7391
  var SelectionTab_default = SelectionTab;
7381
7392
 
7382
7393
  // src/components/tabs/SelectionTabFill.tsx
7383
- import { jsx as jsx55 } from "react/jsx-runtime";
7394
+ import { jsx as jsx56 } from "react/jsx-runtime";
7384
7395
  var SelectionTabFill = ({
7385
7396
  optionList,
7386
7397
  selectedId,
7387
7398
  handleSelectOnClick
7388
7399
  }) => {
7389
- return /* @__PURE__ */ jsx55("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__ */ jsx55(
7400
+ return /* @__PURE__ */ jsx56("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__ */ jsx56(
7390
7401
  "div",
7391
7402
  {
7392
7403
  className: "cursor-pointer",
7393
7404
  onClick: () => {
7394
7405
  handleSelectOnClick(option.id);
7395
7406
  },
7396
- children: /* @__PURE__ */ jsx55(
7407
+ children: /* @__PURE__ */ jsx56(
7397
7408
  "p",
7398
7409
  {
7399
7410
  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`,
@@ -7407,34 +7418,34 @@ var SelectionTabFill = ({
7407
7418
  var SelectionTabFill_default = SelectionTabFill;
7408
7419
 
7409
7420
  // src/components/labels/ActivityTemplateLabel.tsx
7410
- import { jsx as jsx56, jsxs as jsxs42 } from "react/jsx-runtime";
7421
+ import { jsx as jsx57, jsxs as jsxs42 } from "react/jsx-runtime";
7411
7422
  var ActivityTemplateLabel = ({
7412
7423
  title,
7413
7424
  icon,
7414
7425
  font
7415
7426
  }) => {
7416
- return /* @__PURE__ */ jsx56("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs42("div", { className: "flex flex-row items-center gap-x-2", children: [
7417
- icon ? icon : /* @__PURE__ */ jsx56(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7418
- /* @__PURE__ */ jsx56("p", { className: font ? font : "text-sm", children: title })
7427
+ return /* @__PURE__ */ jsx57("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs42("div", { className: "flex flex-row items-center gap-x-2", children: [
7428
+ icon ? icon : /* @__PURE__ */ jsx57(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7429
+ /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7419
7430
  ] }) });
7420
7431
  };
7421
7432
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
7422
7433
 
7423
7434
  // src/components/labels/BrandLabel.tsx
7424
- import { jsx as jsx57, jsxs as jsxs43 } from "react/jsx-runtime";
7435
+ import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
7425
7436
  var BrandLabel = ({ title, icon, font }) => {
7426
- return /* @__PURE__ */ jsx57("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7427
- icon ? icon : /* @__PURE__ */ jsx57(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7428
- /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7437
+ return /* @__PURE__ */ jsx58("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7438
+ icon ? icon : /* @__PURE__ */ jsx58(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7439
+ /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title })
7429
7440
  ] }) });
7430
7441
  };
7431
7442
  var BrandLabel_default = BrandLabel;
7432
7443
 
7433
7444
  // src/components/labels/CategoryLabel.tsx
7434
- import { jsx as jsx58, jsxs as jsxs44 } from "react/jsx-runtime";
7445
+ import { jsx as jsx59, jsxs as jsxs44 } from "react/jsx-runtime";
7435
7446
  var CategoryLabel = ({ title, icon, font }) => {
7436
- return /* @__PURE__ */ jsx58("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7437
- icon ? icon : /* @__PURE__ */ jsx58(
7447
+ return /* @__PURE__ */ jsx59("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7448
+ icon ? icon : /* @__PURE__ */ jsx59(
7438
7449
  BaseImage_default,
7439
7450
  {
7440
7451
  src: "/icons/category-label.webp",
@@ -7442,40 +7453,40 @@ var CategoryLabel = ({ title, icon, font }) => {
7442
7453
  size: "xsmall"
7443
7454
  }
7444
7455
  ),
7445
- /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title })
7456
+ /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title })
7446
7457
  ] }) });
7447
7458
  };
7448
7459
  var CategoryLabel_default = CategoryLabel;
7449
7460
 
7450
7461
  // src/components/labels/CoterieLabel.tsx
7451
- import { jsx as jsx59 } from "react/jsx-runtime";
7462
+ import { jsx as jsx60 } from "react/jsx-runtime";
7452
7463
  var CoterieLabel = ({ title, font }) => {
7453
- return /* @__PURE__ */ jsx59("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title }) });
7464
+ return /* @__PURE__ */ jsx60("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title }) });
7454
7465
  };
7455
7466
  var CoterieLabel_default = CoterieLabel;
7456
7467
 
7457
7468
  // src/components/labels/GradeLabel.tsx
7458
- import { jsx as jsx60 } from "react/jsx-runtime";
7469
+ import { jsx as jsx61 } from "react/jsx-runtime";
7459
7470
  var GradeLabel = ({ title, font }) => {
7460
- return /* @__PURE__ */ jsx60("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title }) });
7471
+ return /* @__PURE__ */ jsx61("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title }) });
7461
7472
  };
7462
7473
  var GradeLabel_default = GradeLabel;
7463
7474
 
7464
7475
  // src/components/labels/OutcomeLabel.tsx
7465
- import { jsx as jsx61, jsxs as jsxs45 } from "react/jsx-runtime";
7476
+ import { jsx as jsx62, jsxs as jsxs45 } from "react/jsx-runtime";
7466
7477
  var OutcomeLabel = ({ title, font }) => {
7467
- return /* @__PURE__ */ jsx61("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7468
- /* @__PURE__ */ jsx61(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7469
- /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title })
7478
+ return /* @__PURE__ */ jsx62("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7479
+ /* @__PURE__ */ jsx62(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7480
+ /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
7470
7481
  ] }) });
7471
7482
  };
7472
7483
  var OutcomeLabel_default = OutcomeLabel;
7473
7484
 
7474
7485
  // src/components/labels/PersonalLabel.tsx
7475
- import { jsx as jsx62, jsxs as jsxs46 } from "react/jsx-runtime";
7486
+ import { jsx as jsx63, jsxs as jsxs46 } from "react/jsx-runtime";
7476
7487
  var PersonalLabel = ({ title, icon, font }) => {
7477
- return /* @__PURE__ */ jsx62("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7478
- icon ? icon : /* @__PURE__ */ jsx62(
7488
+ return /* @__PURE__ */ jsx63("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7489
+ icon ? icon : /* @__PURE__ */ jsx63(
7479
7490
  BaseImage_default,
7480
7491
  {
7481
7492
  src: "/icons/personal-label.webp",
@@ -7483,16 +7494,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7483
7494
  size: "xsmall"
7484
7495
  }
7485
7496
  ),
7486
- /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
7497
+ /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title })
7487
7498
  ] }) });
7488
7499
  };
7489
7500
  var PersonalLabel_default = PersonalLabel;
7490
7501
 
7491
7502
  // src/components/labels/PublishingHouseLabel.tsx
7492
- import { jsx as jsx63, jsxs as jsxs47 } from "react/jsx-runtime";
7503
+ import { jsx as jsx64, jsxs as jsxs47 } from "react/jsx-runtime";
7493
7504
  var PublishingHouseLabel = ({ title, icon, font }) => {
7494
- return /* @__PURE__ */ jsx63("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 m-auto text-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-row items-center gap-x-2", children: [
7495
- icon ? icon : /* @__PURE__ */ jsx63(
7505
+ return /* @__PURE__ */ jsx64("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 m-auto text-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-row items-center gap-x-2", children: [
7506
+ icon ? icon : /* @__PURE__ */ jsx64(
7496
7507
  BaseImage_default,
7497
7508
  {
7498
7509
  src: "/icons/publishing-house-label.webp",
@@ -7500,55 +7511,55 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7500
7511
  size: "xsmall"
7501
7512
  }
7502
7513
  ),
7503
- /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title })
7514
+ /* @__PURE__ */ jsx64("p", { className: font ? font : "text-sm", children: title })
7504
7515
  ] }) });
7505
7516
  };
7506
7517
  var PublishingHouseLabel_default = PublishingHouseLabel;
7507
7518
 
7508
7519
  // src/components/labels/ActivityLabel.tsx
7509
- import { jsx as jsx64 } from "react/jsx-runtime";
7520
+ import { jsx as jsx65 } from "react/jsx-runtime";
7510
7521
  var ActivityLabel = ({ title, font }) => {
7511
- return /* @__PURE__ */ jsx64("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 m-auto text-center", children: /* @__PURE__ */ jsx64("p", { className: font ? font : "text-sm", children: title }) });
7522
+ return /* @__PURE__ */ jsx65("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 m-auto text-center", children: /* @__PURE__ */ jsx65("p", { className: font ? font : "text-sm", children: title }) });
7512
7523
  };
7513
7524
  var ActivityLabel_default = ActivityLabel;
7514
7525
 
7515
7526
  // src/components/infos/InfoWithText.tsx
7516
- import { jsx as jsx65, jsxs as jsxs48 } from "react/jsx-runtime";
7527
+ import { jsx as jsx66, jsxs as jsxs48 } from "react/jsx-runtime";
7517
7528
  var InfoWithText = (props) => {
7518
7529
  const { value } = props;
7519
7530
  return /* @__PURE__ */ jsxs48("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7520
- /* @__PURE__ */ jsx65(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7521
- /* @__PURE__ */ jsx65("div", { className: "flex-1", children: /* @__PURE__ */ jsx65("p", { className: "", children: value }) })
7531
+ /* @__PURE__ */ jsx66(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7532
+ /* @__PURE__ */ jsx66("div", { className: "flex-1", children: /* @__PURE__ */ jsx66("p", { className: "", children: value }) })
7522
7533
  ] });
7523
7534
  };
7524
7535
  var InfoWithText_default = InfoWithText;
7525
7536
 
7526
7537
  // src/components/texts/InputWithSpecialExpression.tsx
7527
7538
  import { InlineMath as InlineMath12 } from "react-katex";
7528
- import { jsx as jsx66 } from "react/jsx-runtime";
7539
+ import { jsx as jsx67 } from "react/jsx-runtime";
7529
7540
  var InputWithSpecialExpression = ({
7530
7541
  value,
7531
7542
  showSpecialOnly
7532
7543
  }) => {
7533
7544
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
7534
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx66("div", { className: "m-2", children: /* @__PURE__ */ jsx66("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx66(
7545
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx67("div", { className: "m-2", children: /* @__PURE__ */ jsx67("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx67(
7535
7546
  "span",
7536
7547
  {
7537
7548
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7538
- children: inputPart.isEquation ? /* @__PURE__ */ jsx66("span", { className: "text-lg", children: /* @__PURE__ */ jsx66(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7549
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx67("span", { className: "text-lg", children: /* @__PURE__ */ jsx67(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7539
7550
  }
7540
- )) }) }) : null : /* @__PURE__ */ jsx66("div", { className: "m-2", children: /* @__PURE__ */ jsx66("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx66(
7551
+ )) }) }) : null : /* @__PURE__ */ jsx67("div", { className: "m-2", children: /* @__PURE__ */ jsx67("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx67(
7541
7552
  "span",
7542
7553
  {
7543
7554
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7544
- children: inputPart.isEquation ? /* @__PURE__ */ jsx66("span", { className: "text-lg", children: /* @__PURE__ */ jsx66(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7555
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx67("span", { className: "text-lg", children: /* @__PURE__ */ jsx67(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7545
7556
  }
7546
7557
  )) }) });
7547
7558
  };
7548
7559
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
7549
7560
 
7550
7561
  // src/components/titles/BaseTitle.tsx
7551
- import { jsx as jsx67, jsxs as jsxs49 } from "react/jsx-runtime";
7562
+ import { jsx as jsx68, jsxs as jsxs49 } from "react/jsx-runtime";
7552
7563
  var BaseTitle = ({
7553
7564
  title,
7554
7565
  totalItemCount,
@@ -7564,15 +7575,15 @@ var BaseTitle = ({
7564
7575
  itemName
7565
7576
  ] }) : null
7566
7577
  ] }),
7567
- description ? /* @__PURE__ */ jsx67("p", { className: "", children: description }) : null
7578
+ description ? /* @__PURE__ */ jsx68("p", { className: "", children: description }) : null
7568
7579
  ] });
7569
7580
  };
7570
7581
  var BaseTitle_default = BaseTitle;
7571
7582
 
7572
7583
  // src/components/titles/SubTitle.tsx
7573
- import { jsx as jsx68 } from "react/jsx-runtime";
7584
+ import { jsx as jsx69 } from "react/jsx-runtime";
7574
7585
  var SubTitle = ({ title }) => {
7575
- return /* @__PURE__ */ jsx68("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7586
+ return /* @__PURE__ */ jsx69("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7576
7587
  };
7577
7588
  var SubTitle_default = SubTitle;
7578
7589
 
@@ -10212,6 +10223,7 @@ export {
10212
10223
  ActivitySolutionContent_default as ActivitySolutionContent,
10213
10224
  ActivityTemplateLabel_default as ActivityTemplateLabel,
10214
10225
  ApproveButton_default as ApproveButton,
10226
+ BaseCard_default as BaseCard,
10215
10227
  BaseImage_default as BaseImage,
10216
10228
  BaseLoading_default as BaseLoading,
10217
10229
  BaseLoadingWithText_default as BaseLoadingWithText,