catchup-library-web 2.1.6 → 2.2.1

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
@@ -6643,6 +6643,7 @@ var TrueFalseActivityMaterialContent = ({
6643
6643
  showCorrectAnswer
6644
6644
  }) => {
6645
6645
  const [shuffleOptionList, setShuffleOptionList] = useState23([]);
6646
+ const [displayAnswerMap, setDisplayAnswerMap] = useState23(answerMap);
6646
6647
  useEffect14(() => {
6647
6648
  const optionList = [];
6648
6649
  optionList.push(...materialMap.trueList);
@@ -6654,9 +6655,12 @@ var TrueFalseActivityMaterialContent = ({
6654
6655
  }
6655
6656
  }, []);
6656
6657
  useEffect14(() => {
6657
- if (!showCorrectAnswer) return;
6658
- answerMap = materialMap;
6659
- }, [showCorrectAnswer]);
6658
+ if (showCorrectAnswer) {
6659
+ setDisplayAnswerMap(materialMap);
6660
+ } else {
6661
+ setDisplayAnswerMap(answerMap);
6662
+ }
6663
+ }, [showCorrectAnswer, materialMap, answerMap]);
6660
6664
  const checkAnswerState = (correctAnswer, learnerAnswer) => {
6661
6665
  if (!isPreview) return null;
6662
6666
  if (correctAnswer === learnerAnswer) {
@@ -6709,7 +6713,7 @@ var TrueFalseActivityMaterialContent = ({
6709
6713
  /* @__PURE__ */ jsx42("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx42("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx42(
6710
6714
  BaseImage_default,
6711
6715
  {
6712
- src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
6716
+ src: displayAnswerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
6713
6717
  alt: "checkbox",
6714
6718
  size: "small",
6715
6719
  onClick: () => {
@@ -6720,7 +6724,7 @@ var TrueFalseActivityMaterialContent = ({
6720
6724
  /* @__PURE__ */ jsx42("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx42("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx42(
6721
6725
  BaseImage_default,
6722
6726
  {
6723
- src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
6727
+ src: displayAnswerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
6724
6728
  alt: "checkbox",
6725
6729
  size: "small",
6726
6730
  onClick: () => {
@@ -6734,11 +6738,11 @@ var TrueFalseActivityMaterialContent = ({
6734
6738
  index
6735
6739
  );
6736
6740
  }) }) : /* @__PURE__ */ jsxs31(Fragment10, { children: [
6737
- answerMap.trueList.map((item) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6741
+ displayAnswerMap.trueList.map((item) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6738
6742
  /* @__PURE__ */ jsx42("div", { className: "flex-1", children: /* @__PURE__ */ jsx42("p", { children: item }) }),
6739
6743
  /* @__PURE__ */ jsx42("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx42("p", { className: "underline", children: i18n_default.t("true") }) })
6740
6744
  ] })),
6741
- answerMap.falseList.map((item) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6745
+ displayAnswerMap.falseList.map((item) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-row items-center gap-x-2", children: [
6742
6746
  /* @__PURE__ */ jsx42("div", { className: "flex-1", children: /* @__PURE__ */ jsx42("p", { children: item }) }),
6743
6747
  /* @__PURE__ */ jsx42("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx42("p", { className: "underline", children: i18n_default.t("false") }) })
6744
6748
  ] }))
@@ -6980,224 +6984,6 @@ var SelectionBox_default = SelectionBox;
6980
6984
 
6981
6985
  // src/components/activities/ActivityPreviewByData.tsx
6982
6986
  import { Fragment as Fragment11, jsx as jsx47, jsxs as jsxs36 } from "react/jsx-runtime";
6983
- var ActivityPreviewByData = ({
6984
- data,
6985
- showType,
6986
- showDescription,
6987
- lockedType,
6988
- typeOptionList,
6989
- showSolution,
6990
- showEvaluationRubric,
6991
- showDifficulty,
6992
- isFullScreen
6993
- }) => {
6994
- const [key, setKey] = useState24((/* @__PURE__ */ new Date()).getTime());
6995
- const [selectedType, setSelectedType] = useState24(null);
6996
- const [optionList, setOptionList] = useState24([]);
6997
- useEffect15(() => {
6998
- if (!data) return;
6999
- setKey((/* @__PURE__ */ new Date()).getTime());
7000
- }, [data]);
7001
- useEffect15(() => {
7002
- if (!typeOptionList) return;
7003
- if (typeOptionList.length === 0) return;
7004
- let foundTypeOption;
7005
- if (lockedType) {
7006
- foundTypeOption = typeOptionList.find(
7007
- (typeOption) => typeOption.id === lockedType
7008
- );
7009
- }
7010
- if (foundTypeOption) {
7011
- setSelectedType(foundTypeOption.id);
7012
- } else {
7013
- setSelectedType(typeOptionList[0].id);
7014
- }
7015
- }, [typeOptionList, lockedType]);
7016
- useEffect15(() => {
7017
- if (!data) return;
7018
- if (!typeOptionList) return;
7019
- if (typeOptionList.length === 0) return;
7020
- let currentTypeOptionList = JSON.parse(JSON.stringify(typeOptionList));
7021
- if (lockedType) {
7022
- currentTypeOptionList = currentTypeOptionList.filter(
7023
- (typeOption) => typeOption.id === lockedType
7024
- );
7025
- }
7026
- if (showDifficulty) {
7027
- setOptionList(
7028
- currentTypeOptionList.map((typeOption) => __spreadProps(__spreadValues({}, typeOption), {
7029
- subText: i18n_default.t(
7030
- retrieveDifficultyByActivityTypeFromData(typeOption.id, data)
7031
- )
7032
- }))
7033
- );
7034
- } else {
7035
- setOptionList(currentTypeOptionList);
7036
- }
7037
- }, [data, lockedType, typeOptionList, showDifficulty]);
7038
- if (!data) return;
7039
- if (!selectedType) return;
7040
- let answerMap = constructAnswerBasedOnData(selectedType, data);
7041
- return /* @__PURE__ */ jsxs36("div", { children: [
7042
- showType ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7043
- /* @__PURE__ */ jsxs36("div", { className: "mb-4", children: [
7044
- showDescription ? /* @__PURE__ */ jsx47("div", { className: "my-2", children: /* @__PURE__ */ jsx47("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7045
- /* @__PURE__ */ jsx47(
7046
- SelectionBox_default,
7047
- {
7048
- optionList,
7049
- selectedId: selectedType,
7050
- handleSelectOnClick: (itemId) => {
7051
- setSelectedType(itemId);
7052
- }
7053
- }
7054
- )
7055
- ] }),
7056
- /* @__PURE__ */ jsx47(DividerLine_default, {})
7057
- ] }) : null,
7058
- /* @__PURE__ */ jsx47("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7059
- OrderingActivityContent_default,
7060
- {
7061
- answerMap,
7062
- changeAnswer: () => {
7063
- },
7064
- canAnswerQuestion: () => {
7065
- return true;
7066
- },
7067
- data,
7068
- isPreview: true,
7069
- showCorrectAnswer: true
7070
- }
7071
- ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7072
- DropdownActivityContent_default,
7073
- {
7074
- answerMap,
7075
- changeAnswer: () => {
7076
- },
7077
- canAnswerQuestion: () => {
7078
- return true;
7079
- },
7080
- data,
7081
- isPreview: true,
7082
- showCorrectAnswer: true,
7083
- isFullScreen
7084
- }
7085
- ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7086
- MCSAActivityContent_default,
7087
- {
7088
- answerMap,
7089
- changeAnswer: () => {
7090
- },
7091
- canAnswerQuestion: () => {
7092
- return true;
7093
- },
7094
- data,
7095
- isPreview: true,
7096
- showCorrectAnswer: true,
7097
- isFullScreen
7098
- }
7099
- ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7100
- MCMAActivityContent_default,
7101
- {
7102
- answerMap,
7103
- changeAnswer: () => {
7104
- },
7105
- canAnswerQuestion: () => {
7106
- return true;
7107
- },
7108
- data,
7109
- isPreview: true,
7110
- showCorrectAnswer: true,
7111
- isFullScreen
7112
- }
7113
- ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7114
- MatchingActivityContent_default,
7115
- {
7116
- answerMap,
7117
- changeAnswer: () => {
7118
- },
7119
- canAnswerQuestion: () => {
7120
- return true;
7121
- },
7122
- data,
7123
- isPreview: true,
7124
- showCorrectAnswer: true
7125
- }
7126
- ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7127
- GroupingActivityContent_default,
7128
- {
7129
- answerMap,
7130
- changeAnswer: () => {
7131
- },
7132
- canAnswerQuestion: () => {
7133
- return true;
7134
- },
7135
- data,
7136
- isPreview: true,
7137
- showCorrectAnswer: true
7138
- }
7139
- ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7140
- FillInTheBlanksActivityContent_default,
7141
- {
7142
- answerMap,
7143
- changeAnswer: () => {
7144
- },
7145
- canAnswerQuestion: () => {
7146
- return true;
7147
- },
7148
- data,
7149
- isPreview: true,
7150
- showCorrectAnswer: true,
7151
- isFullScreen
7152
- }
7153
- ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ jsx47(
7154
- OpenEndedActivityContent_default,
7155
- {
7156
- answerMap,
7157
- canAnswerQuestion: () => false,
7158
- changeAnswer: () => {
7159
- },
7160
- showMaterialContent: true,
7161
- data,
7162
- isPreview: true,
7163
- isFullScreen
7164
- }
7165
- ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ jsx47(
7166
- TrueFalseActivityContent_default,
7167
- {
7168
- answerMap,
7169
- changeAnswer: () => {
7170
- },
7171
- canAnswerQuestion: () => {
7172
- return true;
7173
- },
7174
- data,
7175
- isPreview: true,
7176
- showCorrectAnswer: true,
7177
- isFullScreen
7178
- }
7179
- ) : null }, selectedType),
7180
- showSolution ? /* @__PURE__ */ jsx47("div", { className: "my-4", children: /* @__PURE__ */ jsx47(
7181
- ActivitySolutionContent_default,
7182
- {
7183
- activityTemplateType: selectedType,
7184
- data
7185
- }
7186
- ) }) : null,
7187
- showEvaluationRubric ? /* @__PURE__ */ jsx47("div", { className: "my-4", children: /* @__PURE__ */ jsx47(
7188
- ActivityEvaluationRubricContent_default,
7189
- {
7190
- activityTemplateType: selectedType,
7191
- data
7192
- }
7193
- ) }) : null
7194
- ] }, key);
7195
- };
7196
- var ActivityPreviewByData_default = ActivityPreviewByData;
7197
-
7198
- // src/components/activities/ActivityPreviewByAnswerData.tsx
7199
- import { useEffect as useEffect16, useState as useState25 } from "react";
7200
- import { Fragment as Fragment12, jsx as jsx48, jsxs as jsxs37 } from "react/jsx-runtime";
7201
6987
  var ACTIVITY_TEMPLATE_LIST = [
7202
6988
  { type: "ORDERING", materialMap: "orderingMaterialMap" },
7203
6989
  { type: "DROPDOWN", materialMap: "dropdownMaterialMap" },
@@ -7212,7 +6998,7 @@ var ACTIVITY_TEMPLATE_LIST = [
7212
6998
  { type: "OPEN_ENDED", materialMap: "openEndedMaterialMap" },
7213
6999
  { type: "TRUE_FALSE", materialMap: "trueFalseMaterialMap" }
7214
7000
  ];
7215
- var ActivityPreviewByAnswerData = ({
7001
+ var ActivityPreviewByData = ({
7216
7002
  data,
7217
7003
  answerType = null,
7218
7004
  showType = true,
@@ -7224,11 +7010,11 @@ var ActivityPreviewByAnswerData = ({
7224
7010
  isFullScreen = false,
7225
7011
  showCorrectAnswer = false
7226
7012
  }) => {
7227
- const [selectedType, setSelectedType] = useState25(null);
7228
- const [optionList, setOptionList] = useState25([]);
7229
- const [answerMapMap, setAnswerMapMap] = useState25({});
7230
- const [activityTemplateTypeList, setActivityTemplateTypeList] = useState25([]);
7231
- useEffect16(() => {
7013
+ const [selectedType, setSelectedType] = useState24(null);
7014
+ const [optionList, setOptionList] = useState24([]);
7015
+ const [answerMapMap, setAnswerMapMap] = useState24({});
7016
+ const [activityTemplateTypeList, setActivityTemplateTypeList] = useState24([]);
7017
+ useEffect15(() => {
7232
7018
  if (!data) return;
7233
7019
  let currentActivityTemplateMapList = JSON.parse(
7234
7020
  JSON.stringify(ACTIVITY_TEMPLATE_LIST)
@@ -7246,7 +7032,7 @@ var ActivityPreviewByAnswerData = ({
7246
7032
  }
7247
7033
  setActivityTemplateTypeList(currentActivityTemplateMapList);
7248
7034
  }, [data, answerType, typeList]);
7249
- useEffect16(() => {
7035
+ useEffect15(() => {
7250
7036
  if (activityTemplateTypeList.length === 0) return;
7251
7037
  const currentOptionList = [];
7252
7038
  for (const activityTemplateType of activityTemplateTypeList) {
@@ -7266,11 +7052,11 @@ var ActivityPreviewByAnswerData = ({
7266
7052
  }
7267
7053
  setOptionList(currentOptionList);
7268
7054
  }, [activityTemplateTypeList, showDifficulty]);
7269
- useEffect16(() => {
7055
+ useEffect15(() => {
7270
7056
  if (optionList.length === 0) return;
7271
7057
  setSelectedType(optionList[0].id);
7272
7058
  }, [optionList]);
7273
- useEffect16(() => {
7059
+ useEffect15(() => {
7274
7060
  if (activityTemplateTypeList.length === 0) return;
7275
7061
  const currentAnswerMapMap = {};
7276
7062
  for (const activityTemplateMap of activityTemplateTypeList) {
@@ -7300,44 +7086,44 @@ var ActivityPreviewByAnswerData = ({
7300
7086
  const isEmpty = answerMapMap[selectedType].isEmpty;
7301
7087
  switch (selectedType) {
7302
7088
  case "ORDERING":
7303
- return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7304
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7305
- /* @__PURE__ */ jsx48(OrderingActivityContent_default, __spreadValues({}, commonProps))
7089
+ return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7090
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7091
+ /* @__PURE__ */ jsx47(OrderingActivityContent_default, __spreadValues({}, commonProps))
7306
7092
  ] }) : null;
7307
7093
  case "DROPDOWN":
7308
- return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7309
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7310
- /* @__PURE__ */ jsx48(DropdownActivityContent_default, __spreadValues({}, commonProps))
7094
+ return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7095
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7096
+ /* @__PURE__ */ jsx47(DropdownActivityContent_default, __spreadValues({}, commonProps))
7311
7097
  ] }) : null;
7312
7098
  case "MCSA":
7313
- return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7314
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7315
- /* @__PURE__ */ jsx48(MCSAActivityContent_default, __spreadValues({}, commonProps))
7099
+ return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7100
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7101
+ /* @__PURE__ */ jsx47(MCSAActivityContent_default, __spreadValues({}, commonProps))
7316
7102
  ] }) : null;
7317
7103
  case "MCMA":
7318
- return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7319
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7320
- /* @__PURE__ */ jsx48(MCMAActivityContent_default, __spreadValues({}, commonProps))
7104
+ return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7105
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7106
+ /* @__PURE__ */ jsx47(MCMAActivityContent_default, __spreadValues({}, commonProps))
7321
7107
  ] }) : null;
7322
7108
  case "MATCHING":
7323
- return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7324
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7325
- /* @__PURE__ */ jsx48(MatchingActivityContent_default, __spreadValues({}, commonProps))
7109
+ return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7110
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7111
+ /* @__PURE__ */ jsx47(MatchingActivityContent_default, __spreadValues({}, commonProps))
7326
7112
  ] }) : null;
7327
7113
  case "GROUPING":
7328
- return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7329
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7330
- /* @__PURE__ */ jsx48(GroupingActivityContent_default, __spreadValues({}, commonProps))
7114
+ return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7115
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7116
+ /* @__PURE__ */ jsx47(GroupingActivityContent_default, __spreadValues({}, commonProps))
7331
7117
  ] }) : null;
7332
7118
  case "FILL_IN_THE_BLANKS":
7333
- return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7334
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7335
- /* @__PURE__ */ jsx48(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps))
7119
+ return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7120
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7121
+ /* @__PURE__ */ jsx47(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps))
7336
7122
  ] }) : null;
7337
7123
  case "OPEN_ENDED":
7338
- return data.openEndedBodyMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7339
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7340
- /* @__PURE__ */ jsx48(
7124
+ return data.openEndedBodyMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7125
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7126
+ /* @__PURE__ */ jsx47(
7341
7127
  OpenEndedActivityContent_default,
7342
7128
  __spreadProps(__spreadValues({}, commonProps), {
7343
7129
  showMaterialContent: true
@@ -7345,20 +7131,20 @@ var ActivityPreviewByAnswerData = ({
7345
7131
  )
7346
7132
  ] }) : null;
7347
7133
  case "TRUE_FALSE":
7348
- return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7349
- isEmpty && /* @__PURE__ */ jsx48(ActivityEmptyContent_default, {}),
7350
- /* @__PURE__ */ jsx48(TrueFalseActivityContent_default, __spreadValues({}, commonProps))
7134
+ return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7135
+ isEmpty && /* @__PURE__ */ jsx47(ActivityEmptyContent_default, {}),
7136
+ /* @__PURE__ */ jsx47(TrueFalseActivityContent_default, __spreadValues({}, commonProps))
7351
7137
  ] }) : null;
7352
7138
  default:
7353
7139
  return null;
7354
7140
  }
7355
7141
  };
7356
7142
  if (!data) return null;
7357
- return /* @__PURE__ */ jsxs37("div", { children: [
7358
- showType && optionList.length > 0 ? /* @__PURE__ */ jsxs37(Fragment12, { children: [
7359
- /* @__PURE__ */ jsxs37("div", { className: "mb-4", children: [
7360
- showDescription ? /* @__PURE__ */ jsx48("div", { className: "my-2", children: /* @__PURE__ */ jsx48("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7361
- /* @__PURE__ */ jsx48(
7143
+ return /* @__PURE__ */ jsxs36("div", { children: [
7144
+ showType && optionList.length > 0 ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7145
+ /* @__PURE__ */ jsxs36("div", { className: "mb-4", children: [
7146
+ showDescription ? /* @__PURE__ */ jsx47("div", { className: "my-2", children: /* @__PURE__ */ jsx47("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7147
+ /* @__PURE__ */ jsx47(
7362
7148
  SelectionBox_default,
7363
7149
  {
7364
7150
  optionList,
@@ -7369,17 +7155,17 @@ var ActivityPreviewByAnswerData = ({
7369
7155
  }
7370
7156
  )
7371
7157
  ] }),
7372
- /* @__PURE__ */ jsx48(DividerLine_default, {})
7158
+ /* @__PURE__ */ jsx47(DividerLine_default, {})
7373
7159
  ] }) : null,
7374
- /* @__PURE__ */ jsx48("div", { className: "flex flex-col my-2 w-full p-5", children: RenderSelectedActivityContent() }),
7375
- selectedType && showSolution ? /* @__PURE__ */ jsx48("div", { className: "my-4", children: /* @__PURE__ */ jsx48(
7160
+ /* @__PURE__ */ jsx47("div", { className: "flex flex-col my-2 w-full p-5", children: RenderSelectedActivityContent() }),
7161
+ selectedType && showSolution ? /* @__PURE__ */ jsx47("div", { className: "my-4", children: /* @__PURE__ */ jsx47(
7376
7162
  ActivitySolutionContent_default,
7377
7163
  {
7378
7164
  activityTemplateType: selectedType,
7379
7165
  data
7380
7166
  }
7381
7167
  ) }) : null,
7382
- selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx48("div", { className: "my-4", children: /* @__PURE__ */ jsx48(
7168
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx47("div", { className: "my-4", children: /* @__PURE__ */ jsx47(
7383
7169
  ActivityEvaluationRubricContent_default,
7384
7170
  {
7385
7171
  activityTemplateType: selectedType,
@@ -7388,20 +7174,20 @@ var ActivityPreviewByAnswerData = ({
7388
7174
  ) }) : null
7389
7175
  ] });
7390
7176
  };
7391
- var ActivityPreviewByAnswerData_default = ActivityPreviewByAnswerData;
7177
+ var ActivityPreviewByData_default = ActivityPreviewByData;
7392
7178
 
7393
7179
  // src/components/errors/StatusError.tsx
7394
- import { jsx as jsx49, jsxs as jsxs38 } from "react/jsx-runtime";
7180
+ import { jsx as jsx48, jsxs as jsxs37 } from "react/jsx-runtime";
7395
7181
  var StatusError = ({
7396
7182
  statusCode,
7397
7183
  statusText,
7398
7184
  textSize
7399
7185
  }) => {
7400
- return /* @__PURE__ */ jsxs38("div", { className: "flex flex-col justify-center items-center", children: [
7401
- /* @__PURE__ */ jsx49("p", { className: "text-6xl text-catchup-red my-5", children: i18n_default.t("ooops_text") }),
7402
- /* @__PURE__ */ jsxs38("div", { className: "text-center my-5", children: [
7403
- /* @__PURE__ */ jsx49("p", { className: "italic", children: i18n_default.t("unexcepted_error_text") }),
7404
- /* @__PURE__ */ jsxs38("p", { className: `${textSize ? textSize : "text-lg"}`, children: [
7186
+ return /* @__PURE__ */ jsxs37("div", { className: "flex flex-col justify-center items-center", children: [
7187
+ /* @__PURE__ */ jsx48("p", { className: "text-6xl text-catchup-red my-5", children: i18n_default.t("ooops_text") }),
7188
+ /* @__PURE__ */ jsxs37("div", { className: "text-center my-5", children: [
7189
+ /* @__PURE__ */ jsx48("p", { className: "italic", children: i18n_default.t("unexcepted_error_text") }),
7190
+ /* @__PURE__ */ jsxs37("p", { className: `${textSize ? textSize : "text-lg"}`, children: [
7405
7191
  "(",
7406
7192
  statusCode ? `${statusCode} - ` : null,
7407
7193
  statusText,
@@ -7413,9 +7199,9 @@ var StatusError = ({
7413
7199
  var StatusError_default = StatusError;
7414
7200
 
7415
7201
  // src/components/dividers/BlueVerticalDividerLine.tsx
7416
- import { jsx as jsx50 } from "react/jsx-runtime";
7202
+ import { jsx as jsx49 } from "react/jsx-runtime";
7417
7203
  var BlueVerticalDividerLine = ({ opacity }) => {
7418
- return /* @__PURE__ */ jsx50(
7204
+ return /* @__PURE__ */ jsx49(
7419
7205
  "div",
7420
7206
  {
7421
7207
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -7425,7 +7211,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
7425
7211
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
7426
7212
 
7427
7213
  // src/components/groups/LeftTextRightInputGroup.tsx
7428
- import { jsx as jsx51, jsxs as jsxs39 } from "react/jsx-runtime";
7214
+ import { jsx as jsx50, jsxs as jsxs38 } from "react/jsx-runtime";
7429
7215
  var LeftTextRightInputGroup = ({
7430
7216
  type,
7431
7217
  title,
@@ -7435,9 +7221,9 @@ var LeftTextRightInputGroup = ({
7435
7221
  disabled,
7436
7222
  errorText
7437
7223
  }) => {
7438
- return /* @__PURE__ */ jsxs39("div", { className: "w-full flex flex-row mx-2", children: [
7439
- /* @__PURE__ */ jsx51("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx51("p", { children: title }) }),
7440
- /* @__PURE__ */ jsx51("div", { className: "flex-1", children: /* @__PURE__ */ jsx51(
7224
+ return /* @__PURE__ */ jsxs38("div", { className: "w-full flex flex-row mx-2", children: [
7225
+ /* @__PURE__ */ jsx50("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx50("p", { children: title }) }),
7226
+ /* @__PURE__ */ jsx50("div", { className: "flex-1", children: /* @__PURE__ */ jsx50(
7441
7227
  InputGroup_default,
7442
7228
  {
7443
7229
  type,
@@ -7453,8 +7239,8 @@ var LeftTextRightInputGroup = ({
7453
7239
  var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
7454
7240
 
7455
7241
  // src/components/groups/PageTravelGroup.tsx
7456
- import { useEffect as useEffect17, useState as useState26 } from "react";
7457
- import { jsx as jsx52, jsxs as jsxs40 } from "react/jsx-runtime";
7242
+ import { useEffect as useEffect16, useState as useState25 } from "react";
7243
+ import { jsx as jsx51, jsxs as jsxs39 } from "react/jsx-runtime";
7458
7244
  var PageTravelGroup = ({
7459
7245
  isImageProcessing,
7460
7246
  handleImageProcessing,
@@ -7463,17 +7249,17 @@ var PageTravelGroup = ({
7463
7249
  setPageNumber,
7464
7250
  setImageReady
7465
7251
  }) => {
7466
- const [totalPageNumber, setTotalPageNumber] = useState26(0);
7467
- const [newPageNumber, setNewPageNumber] = useState26(0);
7468
- useEffect17(() => {
7252
+ const [totalPageNumber, setTotalPageNumber] = useState25(0);
7253
+ const [newPageNumber, setNewPageNumber] = useState25(0);
7254
+ useEffect16(() => {
7469
7255
  if (!initialTotalPageNumber) return;
7470
7256
  setTotalPageNumber(initialTotalPageNumber);
7471
7257
  }, [initialTotalPageNumber]);
7472
- useEffect17(() => {
7258
+ useEffect16(() => {
7473
7259
  setNewPageNumber(pageNumber + 1);
7474
7260
  }, [pageNumber]);
7475
- return /* @__PURE__ */ jsxs40("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7476
- pageNumber === 0 ? null : /* @__PURE__ */ jsx52("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx52(
7261
+ return /* @__PURE__ */ jsxs39("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7262
+ pageNumber === 0 ? null : /* @__PURE__ */ jsx51("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx51(
7477
7263
  BaseImage_default,
7478
7264
  {
7479
7265
  size: "small",
@@ -7491,7 +7277,7 @@ var PageTravelGroup = ({
7491
7277
  }
7492
7278
  }
7493
7279
  ) }),
7494
- 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(
7280
+ Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx51("div", { className: "px-2", children: /* @__PURE__ */ jsx51(
7495
7281
  "p",
7496
7282
  {
7497
7283
  className: `${pageNumber === index ? "text-2xl" : "text-md"} cursor-pointer`,
@@ -7506,7 +7292,7 @@ var PageTravelGroup = ({
7506
7292
  children: index + 1
7507
7293
  }
7508
7294
  ) }, index)),
7509
- totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ jsx52("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx52(
7295
+ totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ jsx51("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx51(
7510
7296
  BaseImage_default,
7511
7297
  {
7512
7298
  size: "small",
@@ -7524,7 +7310,7 @@ var PageTravelGroup = ({
7524
7310
  }
7525
7311
  }
7526
7312
  ) }),
7527
- /* @__PURE__ */ jsx52("div", { children: /* @__PURE__ */ jsx52(
7313
+ /* @__PURE__ */ jsx51("div", { children: /* @__PURE__ */ jsx51(
7528
7314
  "input",
7529
7315
  {
7530
7316
  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`,
@@ -7548,14 +7334,14 @@ var PageTravelGroup = ({
7548
7334
  var PageTravelGroup_default = PageTravelGroup;
7549
7335
 
7550
7336
  // src/components/boxes/SelectionCheckbox.tsx
7551
- import { jsx as jsx53, jsxs as jsxs41 } from "react/jsx-runtime";
7337
+ import { jsx as jsx52, jsxs as jsxs40 } from "react/jsx-runtime";
7552
7338
  var SelectionCheckbox = ({
7553
7339
  optionList,
7554
7340
  selectedIdList,
7555
7341
  handleSelectOnClick,
7556
7342
  handleRemoveOnClick
7557
7343
  }) => {
7558
- 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(
7344
+ return /* @__PURE__ */ jsx52("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx52(
7559
7345
  "div",
7560
7346
  {
7561
7347
  className: `${selectedIdList.findIndex(
@@ -7570,14 +7356,14 @@ var SelectionCheckbox = ({
7570
7356
  handleRemoveOnClick(option.id);
7571
7357
  }
7572
7358
  },
7573
- children: /* @__PURE__ */ jsxs41(
7359
+ children: /* @__PURE__ */ jsxs40(
7574
7360
  "div",
7575
7361
  {
7576
7362
  className: `flex flex-row items-center gap-x-1 ${selectedIdList.findIndex(
7577
7363
  (selectedId) => selectedId === option.id
7578
7364
  ) > -1 ? "opacity-100" : "opacity-50"}`,
7579
7365
  children: [
7580
- /* @__PURE__ */ jsx53(
7366
+ /* @__PURE__ */ jsx52(
7581
7367
  BaseImage_default,
7582
7368
  {
7583
7369
  src: selectedIdList.findIndex(
@@ -7587,7 +7373,7 @@ var SelectionCheckbox = ({
7587
7373
  size: "small"
7588
7374
  }
7589
7375
  ),
7590
- /* @__PURE__ */ jsx53("div", { className: "flex-1", children: /* @__PURE__ */ jsx53("p", { children: option.text }) })
7376
+ /* @__PURE__ */ jsx52("div", { className: "flex-1", children: /* @__PURE__ */ jsx52("p", { children: option.text }) })
7591
7377
  ]
7592
7378
  }
7593
7379
  )
@@ -7598,7 +7384,7 @@ var SelectionCheckbox = ({
7598
7384
  var SelectionCheckbox_default = SelectionCheckbox;
7599
7385
 
7600
7386
  // src/components/tabs/SelectionTab.tsx
7601
- import { jsx as jsx54, jsxs as jsxs42 } from "react/jsx-runtime";
7387
+ import { jsx as jsx53, jsxs as jsxs41 } from "react/jsx-runtime";
7602
7388
  var SelectionTab = ({
7603
7389
  optionList,
7604
7390
  selectedId,
@@ -7608,7 +7394,7 @@ var SelectionTab = ({
7608
7394
  textColor,
7609
7395
  borderColor
7610
7396
  }) => {
7611
- 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__ */ jsxs42(
7397
+ return /* @__PURE__ */ jsx53("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(
7612
7398
  "div",
7613
7399
  {
7614
7400
  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`,
@@ -7616,8 +7402,8 @@ var SelectionTab = ({
7616
7402
  handleSelectOnClick(option.id);
7617
7403
  },
7618
7404
  children: [
7619
- /* @__PURE__ */ jsx54("p", { className: "text-lg", children: option.title }),
7620
- option.subTitle ? /* @__PURE__ */ jsx54("p", { className: "text-md", children: option.subTitle }) : null
7405
+ /* @__PURE__ */ jsx53("p", { className: "text-lg", children: option.title }),
7406
+ option.subTitle ? /* @__PURE__ */ jsx53("p", { className: "text-md", children: option.subTitle }) : null
7621
7407
  ]
7622
7408
  },
7623
7409
  index
@@ -7626,20 +7412,20 @@ var SelectionTab = ({
7626
7412
  var SelectionTab_default = SelectionTab;
7627
7413
 
7628
7414
  // src/components/tabs/SelectionTabFill.tsx
7629
- import { jsx as jsx55 } from "react/jsx-runtime";
7415
+ import { jsx as jsx54 } from "react/jsx-runtime";
7630
7416
  var SelectionTabFill = ({
7631
7417
  optionList,
7632
7418
  selectedId,
7633
7419
  handleSelectOnClick
7634
7420
  }) => {
7635
- 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(
7421
+ return /* @__PURE__ */ jsx54("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__ */ jsx54(
7636
7422
  "div",
7637
7423
  {
7638
7424
  className: "cursor-pointer",
7639
7425
  onClick: () => {
7640
7426
  handleSelectOnClick(option.id);
7641
7427
  },
7642
- children: /* @__PURE__ */ jsx55(
7428
+ children: /* @__PURE__ */ jsx54(
7643
7429
  "p",
7644
7430
  {
7645
7431
  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`,
@@ -7653,34 +7439,34 @@ var SelectionTabFill = ({
7653
7439
  var SelectionTabFill_default = SelectionTabFill;
7654
7440
 
7655
7441
  // src/components/labels/ActivityTemplateLabel.tsx
7656
- import { jsx as jsx56, jsxs as jsxs43 } from "react/jsx-runtime";
7442
+ import { jsx as jsx55, jsxs as jsxs42 } from "react/jsx-runtime";
7657
7443
  var ActivityTemplateLabel = ({
7658
7444
  title,
7659
7445
  icon,
7660
7446
  font
7661
7447
  }) => {
7662
- 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 text-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7663
- icon ? icon : /* @__PURE__ */ jsx56(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7664
- /* @__PURE__ */ jsx56("p", { className: font ? font : "text-sm", children: title })
7448
+ return /* @__PURE__ */ jsx55("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ jsxs42("div", { className: "flex flex-row items-center gap-x-2", children: [
7449
+ icon ? icon : /* @__PURE__ */ jsx55(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7450
+ /* @__PURE__ */ jsx55("p", { className: font ? font : "text-sm", children: title })
7665
7451
  ] }) });
7666
7452
  };
7667
7453
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
7668
7454
 
7669
7455
  // src/components/labels/BrandLabel.tsx
7670
- import { jsx as jsx57, jsxs as jsxs44 } from "react/jsx-runtime";
7456
+ import { jsx as jsx56, jsxs as jsxs43 } from "react/jsx-runtime";
7671
7457
  var BrandLabel = ({ title, icon, font }) => {
7672
- 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 text-center", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7673
- icon ? icon : /* @__PURE__ */ jsx57(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7674
- /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7458
+ return /* @__PURE__ */ jsx56("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7459
+ icon ? icon : /* @__PURE__ */ jsx56(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7460
+ /* @__PURE__ */ jsx56("p", { className: font ? font : "text-sm", children: title })
7675
7461
  ] }) });
7676
7462
  };
7677
7463
  var BrandLabel_default = BrandLabel;
7678
7464
 
7679
7465
  // src/components/labels/CategoryLabel.tsx
7680
- import { jsx as jsx58, jsxs as jsxs45 } from "react/jsx-runtime";
7466
+ import { jsx as jsx57, jsxs as jsxs44 } from "react/jsx-runtime";
7681
7467
  var CategoryLabel = ({ title, icon, font }) => {
7682
- 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 text-center", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7683
- icon ? icon : /* @__PURE__ */ jsx58(
7468
+ return /* @__PURE__ */ jsx57("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7469
+ icon ? icon : /* @__PURE__ */ jsx57(
7684
7470
  BaseImage_default,
7685
7471
  {
7686
7472
  src: "/icons/category-label.webp",
@@ -7688,40 +7474,40 @@ var CategoryLabel = ({ title, icon, font }) => {
7688
7474
  size: "xsmall"
7689
7475
  }
7690
7476
  ),
7691
- /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title })
7477
+ /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7692
7478
  ] }) });
7693
7479
  };
7694
7480
  var CategoryLabel_default = CategoryLabel;
7695
7481
 
7696
7482
  // src/components/labels/CoterieLabel.tsx
7697
- import { jsx as jsx59 } from "react/jsx-runtime";
7483
+ import { jsx as jsx58 } from "react/jsx-runtime";
7698
7484
  var CoterieLabel = ({ title, font }) => {
7699
- 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 text-center", children: /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title }) });
7485
+ 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 text-center", children: /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title }) });
7700
7486
  };
7701
7487
  var CoterieLabel_default = CoterieLabel;
7702
7488
 
7703
7489
  // src/components/labels/GradeLabel.tsx
7704
- import { jsx as jsx60 } from "react/jsx-runtime";
7490
+ import { jsx as jsx59 } from "react/jsx-runtime";
7705
7491
  var GradeLabel = ({ title, font }) => {
7706
- 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 text-center", children: /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title }) });
7492
+ return /* @__PURE__ */ jsx59("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title }) });
7707
7493
  };
7708
7494
  var GradeLabel_default = GradeLabel;
7709
7495
 
7710
7496
  // src/components/labels/OutcomeLabel.tsx
7711
- import { jsx as jsx61, jsxs as jsxs46 } from "react/jsx-runtime";
7497
+ import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
7712
7498
  var OutcomeLabel = ({ title, font }) => {
7713
- 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 text-center", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7714
- /* @__PURE__ */ jsx61(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7715
- /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title })
7499
+ 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 text-center", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7500
+ /* @__PURE__ */ jsx60(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7501
+ /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title })
7716
7502
  ] }) });
7717
7503
  };
7718
7504
  var OutcomeLabel_default = OutcomeLabel;
7719
7505
 
7720
7506
  // src/components/labels/PersonalLabel.tsx
7721
- import { jsx as jsx62, jsxs as jsxs47 } from "react/jsx-runtime";
7507
+ import { jsx as jsx61, jsxs as jsxs46 } from "react/jsx-runtime";
7722
7508
  var PersonalLabel = ({ title, icon, font }) => {
7723
- 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 text-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-row items-center gap-x-2", children: [
7724
- icon ? icon : /* @__PURE__ */ jsx62(
7509
+ return /* @__PURE__ */ jsx61("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7510
+ icon ? icon : /* @__PURE__ */ jsx61(
7725
7511
  BaseImage_default,
7726
7512
  {
7727
7513
  src: "/icons/personal-label.webp",
@@ -7729,16 +7515,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7729
7515
  size: "xsmall"
7730
7516
  }
7731
7517
  ),
7732
- /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
7518
+ /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title })
7733
7519
  ] }) });
7734
7520
  };
7735
7521
  var PersonalLabel_default = PersonalLabel;
7736
7522
 
7737
7523
  // src/components/labels/PublishingHouseLabel.tsx
7738
- import { jsx as jsx63, jsxs as jsxs48 } from "react/jsx-runtime";
7524
+ import { jsx as jsx62, jsxs as jsxs47 } from "react/jsx-runtime";
7739
7525
  var PublishingHouseLabel = ({ title, icon, font }) => {
7740
- 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 text-center", children: /* @__PURE__ */ jsxs48("div", { className: "flex flex-row items-center gap-x-2", children: [
7741
- icon ? icon : /* @__PURE__ */ jsx63(
7526
+ return /* @__PURE__ */ jsx62("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 text-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-row items-center gap-x-2", children: [
7527
+ icon ? icon : /* @__PURE__ */ jsx62(
7742
7528
  BaseImage_default,
7743
7529
  {
7744
7530
  src: "/icons/publishing-house-label.webp",
@@ -7746,55 +7532,55 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7746
7532
  size: "xsmall"
7747
7533
  }
7748
7534
  ),
7749
- /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title })
7535
+ /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
7750
7536
  ] }) });
7751
7537
  };
7752
7538
  var PublishingHouseLabel_default = PublishingHouseLabel;
7753
7539
 
7754
7540
  // src/components/labels/ActivityLabel.tsx
7755
- import { jsx as jsx64 } from "react/jsx-runtime";
7541
+ import { jsx as jsx63 } from "react/jsx-runtime";
7756
7542
  var ActivityLabel = ({ title, font }) => {
7757
- 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 text-center", children: /* @__PURE__ */ jsx64("p", { className: font ? font : "text-sm", children: title }) });
7543
+ 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 text-center", children: /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title }) });
7758
7544
  };
7759
7545
  var ActivityLabel_default = ActivityLabel;
7760
7546
 
7761
7547
  // src/components/infos/InfoWithText.tsx
7762
- import { jsx as jsx65, jsxs as jsxs49 } from "react/jsx-runtime";
7548
+ import { jsx as jsx64, jsxs as jsxs48 } from "react/jsx-runtime";
7763
7549
  var InfoWithText = (props) => {
7764
7550
  const { value } = props;
7765
- return /* @__PURE__ */ jsxs49("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7766
- /* @__PURE__ */ jsx65(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7767
- /* @__PURE__ */ jsx65("div", { className: "flex-1", children: /* @__PURE__ */ jsx65("p", { className: "", children: value }) })
7551
+ return /* @__PURE__ */ jsxs48("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7552
+ /* @__PURE__ */ jsx64(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7553
+ /* @__PURE__ */ jsx64("div", { className: "flex-1", children: /* @__PURE__ */ jsx64("p", { className: "", children: value }) })
7768
7554
  ] });
7769
7555
  };
7770
7556
  var InfoWithText_default = InfoWithText;
7771
7557
 
7772
7558
  // src/components/titles/BaseTitle.tsx
7773
- import { jsx as jsx66, jsxs as jsxs50 } from "react/jsx-runtime";
7559
+ import { jsx as jsx65, jsxs as jsxs49 } from "react/jsx-runtime";
7774
7560
  var BaseTitle = ({
7775
7561
  title,
7776
7562
  totalItemCount,
7777
7563
  itemName,
7778
7564
  description
7779
7565
  }) => {
7780
- return /* @__PURE__ */ jsxs50("div", { className: "flex flex-col gap-y-2", children: [
7781
- /* @__PURE__ */ jsxs50("p", { className: "text-2xl font-medium", children: [
7566
+ return /* @__PURE__ */ jsxs49("div", { className: "flex flex-col gap-y-2", children: [
7567
+ /* @__PURE__ */ jsxs49("p", { className: "text-2xl font-medium", children: [
7782
7568
  title,
7783
- totalItemCount && itemName ? /* @__PURE__ */ jsxs50("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7569
+ totalItemCount && itemName ? /* @__PURE__ */ jsxs49("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7784
7570
  totalItemCount,
7785
7571
  " ",
7786
7572
  itemName
7787
7573
  ] }) : null
7788
7574
  ] }),
7789
- description ? /* @__PURE__ */ jsx66("p", { className: "", children: description }) : null
7575
+ description ? /* @__PURE__ */ jsx65("p", { className: "", children: description }) : null
7790
7576
  ] });
7791
7577
  };
7792
7578
  var BaseTitle_default = BaseTitle;
7793
7579
 
7794
7580
  // src/components/titles/SubTitle.tsx
7795
- import { jsx as jsx67 } from "react/jsx-runtime";
7581
+ import { jsx as jsx66 } from "react/jsx-runtime";
7796
7582
  var SubTitle = ({ title }) => {
7797
- return /* @__PURE__ */ jsx67("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7583
+ return /* @__PURE__ */ jsx66("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7798
7584
  };
7799
7585
  var SubTitle_default = SubTitle;
7800
7586
 
@@ -10515,7 +10301,6 @@ export {
10515
10301
  ActivityEmptyContent_default as ActivityEmptyContent,
10516
10302
  ActivityEvaluationRubricContent_default as ActivityEvaluationRubricContent,
10517
10303
  ActivityLabel_default as ActivityLabel,
10518
- ActivityPreviewByAnswerData_default as ActivityPreviewByAnswerData,
10519
10304
  ActivityPreviewByData_default as ActivityPreviewByData,
10520
10305
  ActivitySolutionContent_default as ActivitySolutionContent,
10521
10306
  ActivityTemplateLabel_default as ActivityTemplateLabel,