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