analytica-frontend-lib 1.1.61 → 1.1.63

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.
Files changed (57) hide show
  1. package/dist/Accordation/index.js +230 -211
  2. package/dist/Accordation/index.js.map +1 -1
  3. package/dist/Accordation/index.mjs +199 -180
  4. package/dist/Accordation/index.mjs.map +1 -1
  5. package/dist/Card/index.js +220 -201
  6. package/dist/Card/index.js.map +1 -1
  7. package/dist/Card/index.mjs +193 -174
  8. package/dist/Card/index.mjs.map +1 -1
  9. package/dist/CheckBox/index.d.mts +1 -1
  10. package/dist/CheckBox/index.d.ts +1 -1
  11. package/dist/DropdownMenu/index.js.map +1 -1
  12. package/dist/DropdownMenu/index.mjs.map +1 -1
  13. package/dist/IconRender/index.d.mts +2 -2
  14. package/dist/IconRender/index.d.ts +2 -2
  15. package/dist/IconRender/index.js +37 -18
  16. package/dist/IconRender/index.js.map +1 -1
  17. package/dist/IconRender/index.mjs +37 -18
  18. package/dist/IconRender/index.mjs.map +1 -1
  19. package/dist/NotificationCard/index.js.map +1 -1
  20. package/dist/NotificationCard/index.mjs.map +1 -1
  21. package/dist/Quiz/index.js +495 -476
  22. package/dist/Quiz/index.js.map +1 -1
  23. package/dist/Quiz/index.mjs +412 -393
  24. package/dist/Quiz/index.mjs.map +1 -1
  25. package/dist/Radio/index.d.mts +2 -2
  26. package/dist/Radio/index.d.ts +2 -2
  27. package/dist/Search/index.d.mts +1 -1
  28. package/dist/Search/index.d.ts +1 -1
  29. package/dist/Search/index.js.map +1 -1
  30. package/dist/Search/index.mjs.map +1 -1
  31. package/dist/SubjectInfo/index.d.mts +1 -1
  32. package/dist/SubjectInfo/index.d.ts +1 -1
  33. package/dist/SubjectInfo/index.js +8 -4
  34. package/dist/SubjectInfo/index.js.map +1 -1
  35. package/dist/SubjectInfo/index.mjs +8 -3
  36. package/dist/SubjectInfo/index.mjs.map +1 -1
  37. package/dist/{SubjectInfo-DZvZ5alE.d.mts → SubjectInfo-Dvt0OodP.d.mts} +2 -2
  38. package/dist/{SubjectInfo-DZvZ5alE.d.ts → SubjectInfo-Dvt0OodP.d.ts} +2 -2
  39. package/dist/ThemeToggle/index.js.map +1 -1
  40. package/dist/ThemeToggle/index.mjs.map +1 -1
  41. package/dist/index.css +15 -0
  42. package/dist/index.css.map +1 -1
  43. package/dist/index.d.mts +4 -2
  44. package/dist/index.d.ts +4 -2
  45. package/dist/index.js +475 -558
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +392 -475
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/styles.css +15 -0
  50. package/dist/styles.css.map +1 -1
  51. package/dist/utils/index.d.mts +5 -0
  52. package/dist/utils/index.d.ts +5 -0
  53. package/dist/utils/index.js +35 -0
  54. package/dist/utils/index.js.map +1 -0
  55. package/dist/utils/index.mjs +10 -0
  56. package/dist/utils/index.mjs.map +1 -0
  57. package/package.json +1 -1
@@ -47,7 +47,7 @@ __export(Card_exports, {
47
47
  CardTopic: () => CardTopic
48
48
  });
49
49
  module.exports = __toCommonJS(Card_exports);
50
- var import_react = require("react");
50
+ var import_react2 = require("react");
51
51
 
52
52
  // src/utils/utils.ts
53
53
  var import_clsx = require("clsx");
@@ -742,7 +742,10 @@ var ProgressBar_default = ProgressBar;
742
742
  var import_phosphor_react2 = require("phosphor-react");
743
743
 
744
744
  // src/components/IconRender/IconRender.tsx
745
+ var import_react = require("react");
745
746
  var PhosphorIcons = __toESM(require("phosphor-react"));
747
+
748
+ // src/assets/icons/subjects/ChatPT.tsx
746
749
  var import_jsx_runtime5 = require("react/jsx-runtime");
747
750
  var ChatPT = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
748
751
  "svg",
@@ -777,7 +780,10 @@ var ChatPT = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
777
780
  ]
778
781
  }
779
782
  );
780
- var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
783
+
784
+ // src/assets/icons/subjects/ChatEN.tsx
785
+ var import_jsx_runtime6 = require("react/jsx-runtime");
786
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
781
787
  "svg",
782
788
  {
783
789
  width: size,
@@ -786,21 +792,21 @@ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
786
792
  fill: "none",
787
793
  xmlns: "http://www.w3.org/2000/svg",
788
794
  children: [
789
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
795
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
790
796
  "path",
791
797
  {
792
798
  d: "M27 6H5.00004C4.4696 6 3.9609 6.21071 3.58582 6.58579C3.21075 6.96086 3.00004 7.46957 3.00004 8V28C2.99773 28.3814 3.10562 28.7553 3.31074 29.0768C3.51585 29.3984 3.80947 29.6538 4.15629 29.8125C4.42057 29.9356 4.7085 29.9995 5.00004 30C5.46954 29.9989 5.92347 29.8315 6.28129 29.5275L6.29254 29.5187L10.375 26H27C27.5305 26 28.0392 25.7893 28.4142 25.4142C28.7893 25.0391 29 24.5304 29 24V8C29 7.46957 28.7893 6.96086 28.4142 6.58579C28.0392 6.21071 27.5305 6 27 6ZM27 24H10C9.75992 24.0001 9.52787 24.0866 9.34629 24.2437L5.00004 28V8H27V24Z",
793
799
  fill: color
794
800
  }
795
801
  ),
796
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
802
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
797
803
  "path",
798
804
  {
799
805
  d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
800
806
  fill: color
801
807
  }
802
808
  ),
803
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
809
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
804
810
  "path",
805
811
  {
806
812
  d: "M14.584 19.3652V20.5312H10.0547V19.3652H14.584ZM10.4707 12V20.5312H9V12H10.4707ZM13.9922 15.5625V16.7109H10.0547V15.5625H13.9922ZM14.5547 12V13.1719H10.0547V12H14.5547Z",
@@ -810,7 +816,10 @@ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
810
816
  ]
811
817
  }
812
818
  );
813
- var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
819
+
820
+ // src/assets/icons/subjects/ChatES.tsx
821
+ var import_jsx_runtime7 = require("react/jsx-runtime");
822
+ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
814
823
  "svg",
815
824
  {
816
825
  width: size,
@@ -819,21 +828,21 @@ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
819
828
  fill: "none",
820
829
  xmlns: "http://www.w3.org/2000/svg",
821
830
  children: [
822
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
831
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
823
832
  "path",
824
833
  {
825
834
  d: "M27 6H5.00004C4.4696 6 3.9609 6.21071 3.58582 6.58579C3.21075 6.96086 3.00004 7.46957 3.00004 8V28C2.99773 28.3814 3.10562 28.7553 3.31074 29.0768C3.51585 29.3984 3.80947 29.6538 4.15629 29.8125C4.42057 29.9356 4.7085 29.9995 5.00004 30C5.46954 29.9989 5.92347 29.8315 6.28129 29.5275L6.29254 29.5187L10.375 26H27C27.5305 26 28.0392 25.7893 28.4142 25.4142C28.7893 25.0391 29 24.5304 29 24V8C29 7.46957 28.7893 6.96086 28.4142 6.58579C28.0392 6.21071 27.5305 6 27 6ZM27 24H10C9.75992 24.0001 9.52787 24.0866 9.34629 24.2437L5.00004 28V8H27V24Z",
826
835
  fill: color
827
836
  }
828
837
  ),
829
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
838
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
830
839
  "path",
831
840
  {
832
841
  d: "M21.1426 17.8027C21.1426 17.627 21.1152 17.4707 21.0605 17.334C21.0098 17.1973 20.918 17.0723 20.7852 16.959C20.6523 16.8457 20.4648 16.7363 20.2227 16.6309C19.9844 16.5215 19.6797 16.4102 19.3086 16.2969C18.9023 16.1719 18.5273 16.0332 18.1836 15.8809C17.8438 15.7246 17.5469 15.5449 17.293 15.3418C17.0391 15.1348 16.8418 14.8984 16.7012 14.6328C16.5605 14.3633 16.4902 14.0527 16.4902 13.7012C16.4902 13.3535 16.5625 13.0371 16.707 12.752C16.8555 12.4668 17.0645 12.2207 17.334 12.0137C17.6074 11.8027 17.9297 11.6406 18.3008 11.5273C18.6719 11.4102 19.082 11.3516 19.5312 11.3516C20.1641 11.3516 20.709 11.4688 21.166 11.7031C21.627 11.9375 21.9805 12.252 22.2266 12.6465C22.4766 13.041 22.6016 13.4766 22.6016 13.9531H21.1426C21.1426 13.6719 21.082 13.4238 20.9609 13.209C20.8438 12.9902 20.6641 12.8184 20.4219 12.6934C20.1836 12.5684 19.8809 12.5059 19.5137 12.5059C19.166 12.5059 18.877 12.5586 18.6465 12.6641C18.416 12.7695 18.2441 12.9121 18.1309 13.0918C18.0176 13.2715 17.9609 13.4746 17.9609 13.7012C17.9609 13.8613 17.998 14.0078 18.0723 14.1406C18.1465 14.2695 18.2598 14.3906 18.4121 14.5039C18.5645 14.6133 18.7559 14.7168 18.9863 14.8145C19.2168 14.9121 19.4883 15.0059 19.8008 15.0957C20.2734 15.2363 20.6855 15.3926 21.0371 15.5645C21.3887 15.7324 21.6816 15.9238 21.916 16.1387C22.1504 16.3535 22.3262 16.5977 22.4434 16.8711C22.5605 17.1406 22.6191 17.4473 22.6191 17.791C22.6191 18.1504 22.5469 18.4746 22.4023 18.7637C22.2578 19.0488 22.0508 19.293 21.7812 19.4961C21.5156 19.6953 21.1953 19.8496 20.8203 19.959C20.4492 20.0645 20.0352 20.1172 19.5781 20.1172C19.168 20.1172 18.7637 20.0625 18.3652 19.9531C17.9707 19.8438 17.6113 19.6777 17.2871 19.4551C16.9629 19.2285 16.7051 18.9473 16.5137 18.6113C16.3223 18.2715 16.2266 17.875 16.2266 17.4219H17.6973C17.6973 17.6992 17.7441 17.9355 17.8379 18.1309C17.9355 18.3262 18.0703 18.4863 18.2422 18.6113C18.4141 18.7324 18.6133 18.8223 18.8398 18.8809C19.0703 18.9395 19.3164 18.9688 19.5781 18.9688C19.9219 18.9688 20.209 18.9199 20.4395 18.8223C20.6738 18.7246 20.8496 18.5879 20.9668 18.4121C21.084 18.2363 21.1426 18.0332 21.1426 17.8027Z",
833
842
  fill: color
834
843
  }
835
844
  ),
836
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
845
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
837
846
  "path",
838
847
  {
839
848
  d: "M15.4512 18.834V20H10.9219V18.834H15.4512ZM11.3379 11.4688V20H9.86719V11.4688H11.3379ZM14.8594 15.0312V16.1797H10.9219V15.0312H14.8594ZM15.4219 11.4688V12.6406H10.9219V11.4688H15.4219Z",
@@ -843,29 +852,39 @@ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
843
852
  ]
844
853
  }
845
854
  );
855
+
856
+ // src/components/IconRender/IconRender.tsx
857
+ var import_jsx_runtime8 = require("react/jsx-runtime");
846
858
  var IconRender = ({
847
859
  iconName,
848
860
  color = "#000000",
849
861
  size = 24,
850
862
  weight = "regular"
851
863
  }) => {
852
- switch (iconName) {
853
- case "Chat_PT":
854
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ChatPT, { size, color });
855
- case "Chat_EN":
856
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ChatEN, { size, color });
857
- case "Chat_ES":
858
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ChatES, { size, color });
859
- default: {
860
- const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
861
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconComponent, { size, color, weight });
864
+ if (typeof iconName === "string") {
865
+ switch (iconName) {
866
+ case "Chat_PT":
867
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChatPT, { size, color });
868
+ case "Chat_EN":
869
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChatEN, { size, color });
870
+ case "Chat_ES":
871
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChatES, { size, color });
872
+ default: {
873
+ const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
874
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(IconComponent, { size, color, weight });
875
+ }
862
876
  }
877
+ } else {
878
+ return (0, import_react.cloneElement)(iconName, {
879
+ size,
880
+ color: "currentColor"
881
+ });
863
882
  }
864
883
  };
865
884
  var IconRender_default = IconRender;
866
885
 
867
886
  // src/components/Card/Card.tsx
868
- var import_jsx_runtime6 = require("react/jsx-runtime");
887
+ var import_jsx_runtime9 = require("react/jsx-runtime");
869
888
  var CARD_BASE_CLASSES = {
870
889
  default: "w-full bg-background border border-border-50 rounded-xl",
871
890
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -891,7 +910,7 @@ var CARD_CURSOR_CLASSES = {
891
910
  default: "",
892
911
  pointer: "cursor-pointer"
893
912
  };
894
- var CardBase = (0, import_react.forwardRef)(
913
+ var CardBase = (0, import_react2.forwardRef)(
895
914
  ({
896
915
  children,
897
916
  variant = "default",
@@ -907,7 +926,7 @@ var CardBase = (0, import_react.forwardRef)(
907
926
  const minHeightClasses = CARD_MIN_HEIGHT_CLASSES[minHeight];
908
927
  const layoutClasses = CARD_LAYOUT_CLASSES[layout];
909
928
  const cursorClasses = CARD_CURSOR_CLASSES[cursor];
910
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
929
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
911
930
  "div",
912
931
  {
913
932
  ref,
@@ -949,7 +968,7 @@ var ACTION_HEADER_CLASSES = {
949
968
  error: "text-error-300",
950
969
  info: "text-info-300"
951
970
  };
952
- var CardActivitiesResults = (0, import_react.forwardRef)(
971
+ var CardActivitiesResults = (0, import_react2.forwardRef)(
953
972
  ({
954
973
  icon,
955
974
  title,
@@ -965,7 +984,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
965
984
  const actionIconClasses = ACTION_ICON_CLASSES[action];
966
985
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
967
986
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
968
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
987
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
969
988
  "div",
970
989
  {
971
990
  ref,
@@ -975,7 +994,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
975
994
  ),
976
995
  ...props,
977
996
  children: [
978
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
997
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
979
998
  "div",
980
999
  {
981
1000
  className: cn(
@@ -984,7 +1003,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
984
1003
  extended ? "rounded-t-xl" : "rounded-xl"
985
1004
  ),
986
1005
  children: [
987
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1006
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
988
1007
  "span",
989
1008
  {
990
1009
  className: cn(
@@ -994,7 +1013,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
994
1013
  children: icon
995
1014
  }
996
1015
  ),
997
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1016
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
998
1017
  Text_default,
999
1018
  {
1000
1019
  size: "2xs",
@@ -1003,7 +1022,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
1003
1022
  children: title
1004
1023
  }
1005
1024
  ),
1006
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1025
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1007
1026
  "p",
1008
1027
  {
1009
1028
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -1013,8 +1032,8 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
1013
1032
  ]
1014
1033
  }
1015
1034
  ),
1016
- extended && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
1017
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1035
+ extended && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
1036
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1018
1037
  "p",
1019
1038
  {
1020
1039
  className: cn(
@@ -1024,14 +1043,14 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
1024
1043
  children: header
1025
1044
  }
1026
1045
  ),
1027
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Badge_default, { size: "large", action: "info", children: description })
1046
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "large", action: "info", children: description })
1028
1047
  ] })
1029
1048
  ]
1030
1049
  }
1031
1050
  );
1032
1051
  }
1033
1052
  );
1034
- var CardQuestions = (0, import_react.forwardRef)(
1053
+ var CardQuestions = (0, import_react2.forwardRef)(
1035
1054
  ({
1036
1055
  header,
1037
1056
  state = "undone",
@@ -1043,7 +1062,7 @@ var CardQuestions = (0, import_react.forwardRef)(
1043
1062
  const isDone = state === "done";
1044
1063
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
1045
1064
  const buttonLabel = isDone ? "Ver Quest\xE3o" : "Responder";
1046
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1065
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1047
1066
  CardBase,
1048
1067
  {
1049
1068
  ref,
@@ -1053,10 +1072,10 @@ var CardQuestions = (0, import_react.forwardRef)(
1053
1072
  className: cn("justify-between gap-4", className),
1054
1073
  ...props,
1055
1074
  children: [
1056
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1057
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
1058
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1059
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1075
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1076
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
1077
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1078
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1060
1079
  Badge_default,
1061
1080
  {
1062
1081
  size: "medium",
@@ -1065,13 +1084,13 @@ var CardQuestions = (0, import_react.forwardRef)(
1065
1084
  children: stateLabel
1066
1085
  }
1067
1086
  ),
1068
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1087
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1069
1088
  isDone ? "Nota" : "Sem nota",
1070
- isDone && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
1089
+ isDone && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
1071
1090
  ] })
1072
1091
  ] })
1073
1092
  ] }),
1074
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1093
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1075
1094
  Button_default,
1076
1095
  {
1077
1096
  size: "extra-small",
@@ -1085,7 +1104,7 @@ var CardQuestions = (0, import_react.forwardRef)(
1085
1104
  );
1086
1105
  }
1087
1106
  );
1088
- var CardProgress = (0, import_react.forwardRef)(
1107
+ var CardProgress = (0, import_react2.forwardRef)(
1089
1108
  ({
1090
1109
  header,
1091
1110
  subhead,
@@ -1102,19 +1121,19 @@ var CardProgress = (0, import_react.forwardRef)(
1102
1121
  }, ref) => {
1103
1122
  const isHorizontal = direction === "horizontal";
1104
1123
  const contentComponent = {
1105
- horizontal: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1106
- showDates && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1107
- initialDate && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1108
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
1109
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-600", children: initialDate })
1124
+ horizontal: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1125
+ showDates && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1126
+ initialDate && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1127
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
1128
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-600", children: initialDate })
1110
1129
  ] }),
1111
- endDate && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1112
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 font-semibold", children: "Fim" }),
1113
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-600", children: endDate })
1130
+ endDate && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1131
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 font-semibold", children: "Fim" }),
1132
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-600", children: endDate })
1114
1133
  ] })
1115
1134
  ] }),
1116
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1117
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1135
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1136
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1118
1137
  ProgressBar_default,
1119
1138
  {
1120
1139
  size: "small",
@@ -1123,7 +1142,7 @@ var CardProgress = (0, import_react.forwardRef)(
1123
1142
  "data-testid": "progress-bar"
1124
1143
  }
1125
1144
  ),
1126
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1145
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1127
1146
  Text_default,
1128
1147
  {
1129
1148
  size: "xs",
@@ -1139,9 +1158,9 @@ var CardProgress = (0, import_react.forwardRef)(
1139
1158
  )
1140
1159
  ] })
1141
1160
  ] }),
1142
- vertical: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-800", children: subhead })
1161
+ vertical: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-800", children: subhead })
1143
1162
  };
1144
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1163
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1145
1164
  CardBase,
1146
1165
  {
1147
1166
  ref,
@@ -1152,20 +1171,20 @@ var CardProgress = (0, import_react.forwardRef)(
1152
1171
  className: cn(isHorizontal ? "h-20" : "", className),
1153
1172
  ...props,
1154
1173
  children: [
1155
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1174
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1156
1175
  "div",
1157
1176
  {
1158
1177
  className: cn(
1159
1178
  "flex justify-center items-center [&>svg]:size-6 text-text-950",
1160
1179
  isHorizontal ? "min-w-[80px] min-h-[80px] rounded-l-xl" : "min-h-[50px] w-full rounded-t-xl",
1161
- !color.startsWith("#") ? `bg-${color}` : ""
1180
+ !color.startsWith("#") ? `${color}` : ""
1162
1181
  ),
1163
1182
  style: color.startsWith("#") ? { backgroundColor: color } : void 0,
1164
1183
  "data-testid": "icon-container",
1165
1184
  children: icon
1166
1185
  }
1167
1186
  ),
1168
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1187
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1169
1188
  "div",
1170
1189
  {
1171
1190
  className: cn(
@@ -1173,7 +1192,7 @@ var CardProgress = (0, import_react.forwardRef)(
1173
1192
  !isHorizontal && "gap-4"
1174
1193
  ),
1175
1194
  children: [
1176
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
1195
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
1177
1196
  contentComponent[direction]
1178
1197
  ]
1179
1198
  }
@@ -1183,7 +1202,7 @@ var CardProgress = (0, import_react.forwardRef)(
1183
1202
  );
1184
1203
  }
1185
1204
  );
1186
- var CardTopic = (0, import_react.forwardRef)(
1205
+ var CardTopic = (0, import_react2.forwardRef)(
1187
1206
  ({
1188
1207
  header,
1189
1208
  subHead,
@@ -1193,7 +1212,7 @@ var CardTopic = (0, import_react.forwardRef)(
1193
1212
  className = "",
1194
1213
  ...props
1195
1214
  }, ref) => {
1196
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1215
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1197
1216
  CardBase,
1198
1217
  {
1199
1218
  ref,
@@ -1204,13 +1223,13 @@ var CardTopic = (0, import_react.forwardRef)(
1204
1223
  className: cn("justify-center gap-2 py-2 px-4", className),
1205
1224
  ...props,
1206
1225
  children: [
1207
- subHead && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react.Fragment, { children: [
1208
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { children: text }),
1209
- index < subHead.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { children: "\u2022" })
1226
+ subHead && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react2.Fragment, { children: [
1227
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: text }),
1228
+ index < subHead.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u2022" })
1210
1229
  ] }, `${text} - ${index}`)) }),
1211
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
1212
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1213
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1230
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
1231
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1232
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1214
1233
  ProgressBar_default,
1215
1234
  {
1216
1235
  size: "small",
@@ -1219,7 +1238,7 @@ var CardTopic = (0, import_react.forwardRef)(
1219
1238
  "data-testid": "progress-bar"
1220
1239
  }
1221
1240
  ),
1222
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1241
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1223
1242
  Text_default,
1224
1243
  {
1225
1244
  size: "xs",
@@ -1239,7 +1258,7 @@ var CardTopic = (0, import_react.forwardRef)(
1239
1258
  );
1240
1259
  }
1241
1260
  );
1242
- var CardPerformance = (0, import_react.forwardRef)(
1261
+ var CardPerformance = (0, import_react2.forwardRef)(
1243
1262
  ({
1244
1263
  header,
1245
1264
  progress,
@@ -1253,7 +1272,7 @@ var CardPerformance = (0, import_react.forwardRef)(
1253
1272
  ...props
1254
1273
  }, ref) => {
1255
1274
  const hasProgress = progress !== void 0;
1256
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1275
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1257
1276
  CardBase,
1258
1277
  {
1259
1278
  ref,
@@ -1267,10 +1286,10 @@ var CardPerformance = (0, import_react.forwardRef)(
1267
1286
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
1268
1287
  ...props,
1269
1288
  children: [
1270
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "w-full flex flex-col justify-between gap-2", children: [
1271
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row justify-between items-center gap-2", children: [
1272
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1273
- actionVariant === "button" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1289
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-full flex flex-col justify-between gap-2", children: [
1290
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-between items-center gap-2", children: [
1291
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1292
+ actionVariant === "button" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1274
1293
  Button_default,
1275
1294
  {
1276
1295
  variant: "outline",
@@ -1281,16 +1300,16 @@ var CardPerformance = (0, import_react.forwardRef)(
1281
1300
  }
1282
1301
  )
1283
1302
  ] }),
1284
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1303
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1285
1304
  ProgressBar_default,
1286
1305
  {
1287
1306
  value: progress,
1288
1307
  label: `${progress}% ${labelProgress}`,
1289
1308
  variant: progressVariant
1290
1309
  }
1291
- ) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-xs text-text-600 truncate", children: description }) })
1310
+ ) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-text-600 truncate", children: description }) })
1292
1311
  ] }),
1293
- actionVariant == "caret" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1312
+ actionVariant == "caret" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1294
1313
  import_phosphor_react2.CaretRight,
1295
1314
  {
1296
1315
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -1302,7 +1321,7 @@ var CardPerformance = (0, import_react.forwardRef)(
1302
1321
  );
1303
1322
  }
1304
1323
  );
1305
- var CardResults = (0, import_react.forwardRef)(
1324
+ var CardResults = (0, import_react2.forwardRef)(
1306
1325
  ({
1307
1326
  header,
1308
1327
  correct_answers,
@@ -1314,7 +1333,7 @@ var CardResults = (0, import_react.forwardRef)(
1314
1333
  ...props
1315
1334
  }, ref) => {
1316
1335
  const isRow = direction == "row";
1317
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1336
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1318
1337
  CardBase,
1319
1338
  {
1320
1339
  ref,
@@ -1324,7 +1343,7 @@ var CardResults = (0, import_react.forwardRef)(
1324
1343
  className: cn("items-stretch cursor-pointer pr-4", className),
1325
1344
  ...props,
1326
1345
  children: [
1327
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1346
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1328
1347
  "div",
1329
1348
  {
1330
1349
  className: cn(
@@ -1333,11 +1352,11 @@ var CardResults = (0, import_react.forwardRef)(
1333
1352
  style: {
1334
1353
  backgroundColor: color
1335
1354
  },
1336
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1355
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1337
1356
  }
1338
1357
  ),
1339
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "w-full flex flex-row justify-between items-center", children: [
1340
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1358
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-full flex flex-row justify-between items-center", children: [
1359
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1341
1360
  "div",
1342
1361
  {
1343
1362
  className: cn(
@@ -1345,28 +1364,28 @@ var CardResults = (0, import_react.forwardRef)(
1345
1364
  isRow ? "flex-row items-center gap-2" : "flex-col"
1346
1365
  ),
1347
1366
  children: [
1348
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1349
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1350
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1367
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1368
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1369
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1351
1370
  Badge_default,
1352
1371
  {
1353
1372
  action: "success",
1354
1373
  variant: "solid",
1355
1374
  size: "large",
1356
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}),
1375
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CheckCircle, {}),
1357
1376
  children: [
1358
1377
  correct_answers,
1359
1378
  " Corretas"
1360
1379
  ]
1361
1380
  }
1362
1381
  ),
1363
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1382
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1364
1383
  Badge_default,
1365
1384
  {
1366
1385
  action: "error",
1367
1386
  variant: "solid",
1368
1387
  size: "large",
1369
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1388
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.XCircle, {}),
1370
1389
  children: [
1371
1390
  incorrect_answers,
1372
1391
  " Incorretas"
@@ -1377,14 +1396,14 @@ var CardResults = (0, import_react.forwardRef)(
1377
1396
  ]
1378
1397
  }
1379
1398
  ),
1380
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1399
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1381
1400
  ] })
1382
1401
  ]
1383
1402
  }
1384
1403
  );
1385
1404
  }
1386
1405
  );
1387
- var CardStatus = (0, import_react.forwardRef)(
1406
+ var CardStatus = (0, import_react2.forwardRef)(
1388
1407
  ({ header, className, status, label, ...props }, ref) => {
1389
1408
  const getLabelBadge = (status2) => {
1390
1409
  switch (status2) {
@@ -1398,7 +1417,7 @@ var CardStatus = (0, import_react.forwardRef)(
1398
1417
  return "Em branco";
1399
1418
  }
1400
1419
  };
1401
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1420
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1402
1421
  CardBase,
1403
1422
  {
1404
1423
  ref,
@@ -1407,30 +1426,30 @@ var CardStatus = (0, import_react.forwardRef)(
1407
1426
  minHeight: "medium",
1408
1427
  className: cn("items-center cursor-pointer", className),
1409
1428
  ...props,
1410
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
1411
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1412
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
1413
- status && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1429
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
1430
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1431
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
1432
+ status && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1414
1433
  Badge_default,
1415
1434
  {
1416
1435
  action: status == "correct" ? "success" : "error",
1417
1436
  variant: "solid",
1418
1437
  size: "medium",
1419
- iconLeft: status == "correct" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1438
+ iconLeft: status == "correct" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.XCircle, {}),
1420
1439
  children: getLabelBadge(status)
1421
1440
  }
1422
1441
  ),
1423
- label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-800", children: label })
1442
+ label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-800", children: label })
1424
1443
  ] }),
1425
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
1444
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
1426
1445
  ] })
1427
1446
  }
1428
1447
  );
1429
1448
  }
1430
1449
  );
1431
- var CardSettings = (0, import_react.forwardRef)(
1450
+ var CardSettings = (0, import_react2.forwardRef)(
1432
1451
  ({ header, className, icon, ...props }, ref) => {
1433
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1452
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1434
1453
  CardBase,
1435
1454
  {
1436
1455
  ref,
@@ -1443,17 +1462,17 @@ var CardSettings = (0, import_react.forwardRef)(
1443
1462
  ),
1444
1463
  ...props,
1445
1464
  children: [
1446
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
1447
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "w-full text-sm truncate", children: header }),
1448
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { size: 24, className: "cursor-pointer" })
1465
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
1466
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "w-full text-sm truncate", children: header }),
1467
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { size: 24, className: "cursor-pointer" })
1449
1468
  ]
1450
1469
  }
1451
1470
  );
1452
1471
  }
1453
1472
  );
1454
- var CardSupport = (0, import_react.forwardRef)(
1473
+ var CardSupport = (0, import_react2.forwardRef)(
1455
1474
  ({ header, className, direction = "col", children, ...props }, ref) => {
1456
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1475
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1457
1476
  CardBase,
1458
1477
  {
1459
1478
  ref,
@@ -1466,7 +1485,7 @@ var CardSupport = (0, import_react.forwardRef)(
1466
1485
  ),
1467
1486
  ...props,
1468
1487
  children: [
1469
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1488
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1470
1489
  "div",
1471
1490
  {
1472
1491
  className: cn(
@@ -1474,18 +1493,18 @@ var CardSupport = (0, import_react.forwardRef)(
1474
1493
  direction == "col" ? "flex-col" : "flex-row items-center"
1475
1494
  ),
1476
1495
  children: [
1477
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "w-full min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
1478
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "flex flex-row gap-1", children })
1496
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "w-full min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
1497
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "flex flex-row gap-1", children })
1479
1498
  ]
1480
1499
  }
1481
1500
  ),
1482
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
1501
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
1483
1502
  ]
1484
1503
  }
1485
1504
  );
1486
1505
  }
1487
1506
  );
1488
- var CardForum = (0, import_react.forwardRef)(
1507
+ var CardForum = (0, import_react2.forwardRef)(
1489
1508
  ({
1490
1509
  title,
1491
1510
  content,
@@ -1499,7 +1518,7 @@ var CardForum = (0, import_react.forwardRef)(
1499
1518
  hour,
1500
1519
  ...props
1501
1520
  }, ref) => {
1502
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1521
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1503
1522
  CardBase,
1504
1523
  {
1505
1524
  ref,
@@ -1510,7 +1529,7 @@ var CardForum = (0, import_react.forwardRef)(
1510
1529
  className: cn("w-auto h-auto gap-3", className),
1511
1530
  ...props,
1512
1531
  children: [
1513
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1532
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1514
1533
  "button",
1515
1534
  {
1516
1535
  type: "button",
@@ -1519,18 +1538,18 @@ var CardForum = (0, import_react.forwardRef)(
1519
1538
  className: "min-w-8 h-8 rounded-full bg-background-950"
1520
1539
  }
1521
1540
  ),
1522
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
1523
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
1524
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
1525
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("p", { className: "text-xs text-text-600", children: [
1541
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
1542
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
1543
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
1544
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { className: "text-xs text-text-600", children: [
1526
1545
  "\u2022 ",
1527
1546
  date,
1528
1547
  " \u2022 ",
1529
1548
  hour
1530
1549
  ] })
1531
1550
  ] }),
1532
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
1533
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1551
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
1552
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1534
1553
  "button",
1535
1554
  {
1536
1555
  type: "button",
@@ -1538,8 +1557,8 @@ var CardForum = (0, import_react.forwardRef)(
1538
1557
  onClick: () => onClickComments?.(valueComments),
1539
1558
  className: "text-text-600 flex flex-row gap-2 items-center",
1540
1559
  children: [
1541
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.ChatCircleText, { "aria-hidden": "true", size: 16 }),
1542
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("p", { className: "text-xs", children: [
1560
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.ChatCircleText, { "aria-hidden": "true", size: 16 }),
1561
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { className: "text-xs", children: [
1543
1562
  comments,
1544
1563
  " respostas"
1545
1564
  ] })
@@ -1552,7 +1571,7 @@ var CardForum = (0, import_react.forwardRef)(
1552
1571
  );
1553
1572
  }
1554
1573
  );
1555
- var CardAudio = (0, import_react.forwardRef)(
1574
+ var CardAudio = (0, import_react2.forwardRef)(
1556
1575
  ({
1557
1576
  src,
1558
1577
  title,
@@ -1566,16 +1585,16 @@ var CardAudio = (0, import_react.forwardRef)(
1566
1585
  className,
1567
1586
  ...props
1568
1587
  }, ref) => {
1569
- const [isPlaying, setIsPlaying] = (0, import_react.useState)(false);
1570
- const [currentTime, setCurrentTime] = (0, import_react.useState)(0);
1571
- const [duration, setDuration] = (0, import_react.useState)(0);
1572
- const [volume, setVolume] = (0, import_react.useState)(1);
1573
- const [showVolumeControl, setShowVolumeControl] = (0, import_react.useState)(false);
1574
- const [showSpeedMenu, setShowSpeedMenu] = (0, import_react.useState)(false);
1575
- const [playbackRate, setPlaybackRate] = (0, import_react.useState)(1);
1576
- const audioRef = (0, import_react.useRef)(null);
1577
- const volumeControlRef = (0, import_react.useRef)(null);
1578
- const speedMenuRef = (0, import_react.useRef)(null);
1588
+ const [isPlaying, setIsPlaying] = (0, import_react2.useState)(false);
1589
+ const [currentTime, setCurrentTime] = (0, import_react2.useState)(0);
1590
+ const [duration, setDuration] = (0, import_react2.useState)(0);
1591
+ const [volume, setVolume] = (0, import_react2.useState)(1);
1592
+ const [showVolumeControl, setShowVolumeControl] = (0, import_react2.useState)(false);
1593
+ const [showSpeedMenu, setShowSpeedMenu] = (0, import_react2.useState)(false);
1594
+ const [playbackRate, setPlaybackRate] = (0, import_react2.useState)(1);
1595
+ const audioRef = (0, import_react2.useRef)(null);
1596
+ const volumeControlRef = (0, import_react2.useRef)(null);
1597
+ const speedMenuRef = (0, import_react2.useRef)(null);
1579
1598
  const formatTime = (time) => {
1580
1599
  const minutes = Math.floor(time / 60);
1581
1600
  const seconds = Math.floor(time % 60);
@@ -1642,14 +1661,14 @@ var CardAudio = (0, import_react.forwardRef)(
1642
1661
  };
1643
1662
  const getVolumeIcon = () => {
1644
1663
  if (volume === 0) {
1645
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.SpeakerSimpleX, { size: 24 });
1664
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.SpeakerSimpleX, { size: 24 });
1646
1665
  }
1647
1666
  if (volume < 0.5) {
1648
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.SpeakerLow, { size: 24 });
1667
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.SpeakerLow, { size: 24 });
1649
1668
  }
1650
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.SpeakerHigh, { size: 24 });
1669
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.SpeakerHigh, { size: 24 });
1651
1670
  };
1652
- (0, import_react.useEffect)(() => {
1671
+ (0, import_react2.useEffect)(() => {
1653
1672
  const handleClickOutside = (event) => {
1654
1673
  if (volumeControlRef.current && !volumeControlRef.current.contains(event.target)) {
1655
1674
  setShowVolumeControl(false);
@@ -1663,7 +1682,7 @@ var CardAudio = (0, import_react.forwardRef)(
1663
1682
  document.removeEventListener("mousedown", handleClickOutside);
1664
1683
  };
1665
1684
  }, []);
1666
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1685
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1667
1686
  CardBase,
1668
1687
  {
1669
1688
  ref,
@@ -1676,7 +1695,7 @@ var CardAudio = (0, import_react.forwardRef)(
1676
1695
  ),
1677
1696
  ...props,
1678
1697
  children: [
1679
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1698
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1680
1699
  "audio",
1681
1700
  {
1682
1701
  ref: audioRef,
@@ -1688,7 +1707,7 @@ var CardAudio = (0, import_react.forwardRef)(
1688
1707
  onEnded: handleEnded,
1689
1708
  "data-testid": "audio-element",
1690
1709
  "aria-label": title,
1691
- children: tracks ? tracks.map((track) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1710
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1692
1711
  "track",
1693
1712
  {
1694
1713
  kind: track.kind,
@@ -1698,7 +1717,7 @@ var CardAudio = (0, import_react.forwardRef)(
1698
1717
  default: track.default
1699
1718
  },
1700
1719
  track.src
1701
- )) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1720
+ )) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1702
1721
  "track",
1703
1722
  {
1704
1723
  kind: "captions",
@@ -1709,7 +1728,7 @@ var CardAudio = (0, import_react.forwardRef)(
1709
1728
  )
1710
1729
  }
1711
1730
  ),
1712
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1731
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1713
1732
  "button",
1714
1733
  {
1715
1734
  type: "button",
@@ -1717,14 +1736,14 @@ var CardAudio = (0, import_react.forwardRef)(
1717
1736
  disabled: !src,
1718
1737
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
1719
1738
  "aria-label": isPlaying ? "Pausar" : "Reproduzir",
1720
- children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex gap-0.5", children: [
1721
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" }),
1722
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" })
1723
- ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Play, { size: 24 })
1739
+ children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex gap-0.5", children: [
1740
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" }),
1741
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" })
1742
+ ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Play, { size: 24 })
1724
1743
  }
1725
1744
  ),
1726
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
1727
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1745
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
1746
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1728
1747
  "button",
1729
1748
  {
1730
1749
  type: "button",
@@ -1739,7 +1758,7 @@ var CardAudio = (0, import_react.forwardRef)(
1739
1758
  }
1740
1759
  },
1741
1760
  "aria-label": "Barra de progresso do \xE1udio",
1742
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1761
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1743
1762
  "div",
1744
1763
  {
1745
1764
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -1750,19 +1769,19 @@ var CardAudio = (0, import_react.forwardRef)(
1750
1769
  )
1751
1770
  }
1752
1771
  ) }),
1753
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(duration) }),
1754
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "relative h-6", ref: volumeControlRef, children: [
1755
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1772
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(duration) }),
1773
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "relative h-6", ref: volumeControlRef, children: [
1774
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1756
1775
  "button",
1757
1776
  {
1758
1777
  type: "button",
1759
1778
  onClick: toggleVolumeControl,
1760
1779
  className: "cursor-pointer text-text-950 hover:text-primary-600",
1761
1780
  "aria-label": "Controle de volume",
1762
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
1781
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
1763
1782
  }
1764
1783
  ),
1765
- showVolumeControl && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1784
+ showVolumeControl && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1766
1785
  "button",
1767
1786
  {
1768
1787
  type: "button",
@@ -1772,7 +1791,7 @@ var CardAudio = (0, import_react.forwardRef)(
1772
1791
  setShowVolumeControl(false);
1773
1792
  }
1774
1793
  },
1775
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1794
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1776
1795
  "input",
1777
1796
  {
1778
1797
  type: "range",
@@ -1813,22 +1832,22 @@ var CardAudio = (0, import_react.forwardRef)(
1813
1832
  }
1814
1833
  )
1815
1834
  ] }),
1816
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "relative h-6", ref: speedMenuRef, children: [
1817
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1835
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "relative h-6", ref: speedMenuRef, children: [
1836
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1818
1837
  "button",
1819
1838
  {
1820
1839
  type: "button",
1821
1840
  onClick: toggleSpeedMenu,
1822
1841
  className: "cursor-pointer text-text-950 hover:text-primary-600",
1823
1842
  "aria-label": "Op\xE7\xF5es de velocidade",
1824
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.DotsThreeVertical, { size: 24 })
1843
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.DotsThreeVertical, { size: 24 })
1825
1844
  }
1826
1845
  ),
1827
- showSpeedMenu && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "absolute bottom-full right-0 mb-2 p-2 bg-background border border-border-100 rounded-lg shadow-lg min-w-24 z-10", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col gap-1", children: [
1846
+ showSpeedMenu && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "absolute bottom-full right-0 mb-2 p-2 bg-background border border-border-100 rounded-lg shadow-lg min-w-24 z-10", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col gap-1", children: [
1828
1847
  { speed: 1, label: "1x" },
1829
1848
  { speed: 1.5, label: "1.5x" },
1830
1849
  { speed: 2, label: "2x" }
1831
- ].map(({ speed, label }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1850
+ ].map(({ speed, label }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1832
1851
  "button",
1833
1852
  {
1834
1853
  type: "button",
@@ -1853,10 +1872,10 @@ var SIMULADO_BACKGROUND_CLASSES = {
1853
1872
  simuladao: "bg-exam-3",
1854
1873
  vestibular: "bg-exam-4"
1855
1874
  };
1856
- var CardSimulado = (0, import_react.forwardRef)(
1875
+ var CardSimulado = (0, import_react2.forwardRef)(
1857
1876
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
1858
1877
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
1859
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1878
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1860
1879
  CardBase,
1861
1880
  {
1862
1881
  ref,
@@ -1869,18 +1888,18 @@ var CardSimulado = (0, import_react.forwardRef)(
1869
1888
  className
1870
1889
  ),
1871
1890
  ...props,
1872
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex justify-between items-center w-full gap-4", children: [
1873
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1874
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
1875
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-4 text-text-700", children: [
1876
- duration && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-1", children: [
1877
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Clock, { size: 16, className: "flex-shrink-0" }),
1878
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", children: duration })
1891
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between items-center w-full gap-4", children: [
1892
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1893
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
1894
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-4 text-text-700", children: [
1895
+ duration && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-1", children: [
1896
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Clock, { size: 16, className: "flex-shrink-0" }),
1897
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", children: duration })
1879
1898
  ] }),
1880
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", className: "truncate", children: info })
1899
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", className: "truncate", children: info })
1881
1900
  ] })
1882
1901
  ] }),
1883
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1902
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1884
1903
  import_phosphor_react2.CaretRight,
1885
1904
  {
1886
1905
  size: 24,
@@ -1893,7 +1912,7 @@ var CardSimulado = (0, import_react.forwardRef)(
1893
1912
  );
1894
1913
  }
1895
1914
  );
1896
- var CardTest = (0, import_react.forwardRef)(
1915
+ var CardTest = (0, import_react2.forwardRef)(
1897
1916
  ({
1898
1917
  title,
1899
1918
  duration,
@@ -1925,7 +1944,7 @@ var CardTest = (0, import_react.forwardRef)(
1925
1944
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
1926
1945
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
1927
1946
  if (isSelectable) {
1928
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1947
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1929
1948
  "button",
1930
1949
  {
1931
1950
  ref,
@@ -1937,8 +1956,8 @@ var CardTest = (0, import_react.forwardRef)(
1937
1956
  onKeyDown: handleKeyDown,
1938
1957
  "aria-pressed": selected,
1939
1958
  ...props,
1940
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1941
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1959
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1960
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1942
1961
  Text_default,
1943
1962
  {
1944
1963
  size: "md",
@@ -1947,10 +1966,10 @@ var CardTest = (0, import_react.forwardRef)(
1947
1966
  children: title
1948
1967
  }
1949
1968
  ),
1950
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1951
- duration && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1952
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
1953
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1969
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1970
+ duration && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1971
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
1972
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1954
1973
  Text_default,
1955
1974
  {
1956
1975
  size: "sm",
@@ -1959,7 +1978,7 @@ var CardTest = (0, import_react.forwardRef)(
1959
1978
  }
1960
1979
  )
1961
1980
  ] }),
1962
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1981
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1963
1982
  Text_default,
1964
1983
  {
1965
1984
  size: "sm",
@@ -1972,14 +1991,14 @@ var CardTest = (0, import_react.forwardRef)(
1972
1991
  }
1973
1992
  );
1974
1993
  }
1975
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1994
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1976
1995
  "div",
1977
1996
  {
1978
1997
  ref,
1979
1998
  className: cn(`${baseClasses} ${className}`.trim()),
1980
1999
  ...props,
1981
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1982
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2000
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
2001
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1983
2002
  Text_default,
1984
2003
  {
1985
2004
  size: "md",
@@ -1988,10 +2007,10 @@ var CardTest = (0, import_react.forwardRef)(
1988
2007
  children: title
1989
2008
  }
1990
2009
  ),
1991
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1992
- duration && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1993
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
1994
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2010
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
2011
+ duration && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
2012
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
2013
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1995
2014
  Text_default,
1996
2015
  {
1997
2016
  size: "sm",
@@ -2000,7 +2019,7 @@ var CardTest = (0, import_react.forwardRef)(
2000
2019
  }
2001
2020
  )
2002
2021
  ] }),
2003
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2022
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2004
2023
  Text_default,
2005
2024
  {
2006
2025
  size: "sm",
@@ -2036,15 +2055,15 @@ var SIMULATION_TYPE_STYLES = {
2036
2055
  text: "Vestibular"
2037
2056
  }
2038
2057
  };
2039
- var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationClick, className, ...props }, ref) => {
2040
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2058
+ var CardSimulationHistory = (0, import_react2.forwardRef)(({ data, onSimulationClick, className, ...props }, ref) => {
2059
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2041
2060
  "div",
2042
2061
  {
2043
2062
  ref,
2044
2063
  className: cn("w-full max-w-[992px] h-auto", className),
2045
2064
  ...props,
2046
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-0", children: [
2047
- data.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
2065
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-0", children: [
2066
+ data.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2048
2067
  "div",
2049
2068
  {
2050
2069
  className: cn(
@@ -2052,7 +2071,7 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2052
2071
  sectionIndex === 0 ? "rounded-t-3xl" : ""
2053
2072
  ),
2054
2073
  children: [
2055
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2074
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2056
2075
  Text_default,
2057
2076
  {
2058
2077
  size: "xs",
@@ -2061,9 +2080,9 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2061
2080
  children: section.date
2062
2081
  }
2063
2082
  ),
2064
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
2083
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
2065
2084
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
2066
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2085
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2067
2086
  CardBase,
2068
2087
  {
2069
2088
  layout: "horizontal",
@@ -2075,9 +2094,9 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2075
2094
  transition-shadow duration-200 h-auto min-h-[61px]`
2076
2095
  ),
2077
2096
  onClick: () => onSimulationClick?.(simulation),
2078
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex justify-between items-center w-full gap-2", children: [
2079
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
2080
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2097
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between items-center w-full gap-2", children: [
2098
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
2099
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2081
2100
  Text_default,
2082
2101
  {
2083
2102
  size: "lg",
@@ -2086,8 +2105,8 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2086
2105
  children: simulation.title
2087
2106
  }
2088
2107
  ),
2089
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-2", children: [
2090
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2108
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-2", children: [
2109
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2091
2110
  Badge_default,
2092
2111
  {
2093
2112
  variant: "examsOutlined",
@@ -2096,10 +2115,10 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2096
2115
  children: typeStyles.text
2097
2116
  }
2098
2117
  ),
2099
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
2118
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
2100
2119
  ] })
2101
2120
  ] }),
2102
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2121
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2103
2122
  import_phosphor_react2.CaretRight,
2104
2123
  {
2105
2124
  size: 24,
@@ -2115,7 +2134,7 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2115
2134
  ]
2116
2135
  }
2117
2136
  ) }, section.date)),
2118
- data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
2137
+ data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
2119
2138
  ] })
2120
2139
  }
2121
2140
  );