analytica-frontend-lib 1.1.30 → 1.1.32

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.
@@ -715,7 +715,132 @@ import {
715
715
  SpeakerSimpleX,
716
716
  XCircle
717
717
  } from "phosphor-react";
718
- import { Fragment as Fragment3, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
718
+
719
+ // src/components/IconRender/IconRender.tsx
720
+ import * as PhosphorIcons from "phosphor-react";
721
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
722
+ var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs4(
723
+ "svg",
724
+ {
725
+ width: size,
726
+ height: size,
727
+ viewBox: "0 0 32 32",
728
+ fill: "none",
729
+ xmlns: "http://www.w3.org/2000/svg",
730
+ children: [
731
+ /* @__PURE__ */ jsx5(
732
+ "path",
733
+ {
734
+ 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",
735
+ fill: color
736
+ }
737
+ ),
738
+ /* @__PURE__ */ jsx5(
739
+ "path",
740
+ {
741
+ d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
742
+ fill: color
743
+ }
744
+ ),
745
+ /* @__PURE__ */ jsx5(
746
+ "path",
747
+ {
748
+ d: "M13.2402 17.3496H11.0195V16.1836H13.2402C13.627 16.1836 13.9395 16.1211 14.1777 15.9961C14.416 15.8711 14.5898 15.6992 14.6992 15.4805C14.8125 15.2578 14.8691 15.0039 14.8691 14.7188C14.8691 14.4492 14.8125 14.1973 14.6992 13.9629C14.5898 13.7246 14.416 13.5332 14.1777 13.3887C13.9395 13.2441 13.627 13.1719 13.2402 13.1719H11.4707V20.5312H10V12H13.2402C13.9004 12 14.4609 12.1172 14.9219 12.3516C15.3867 12.582 15.7402 12.9023 15.9824 13.3125C16.2246 13.7188 16.3457 14.1836 16.3457 14.707C16.3457 15.2578 16.2246 15.7305 15.9824 16.125C15.7402 16.5195 15.3867 16.8223 14.9219 17.0332C14.4609 17.2441 13.9004 17.3496 13.2402 17.3496Z",
749
+ fill: color
750
+ }
751
+ )
752
+ ]
753
+ }
754
+ );
755
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs4(
756
+ "svg",
757
+ {
758
+ width: size,
759
+ height: size,
760
+ viewBox: "0 0 32 32",
761
+ fill: "none",
762
+ xmlns: "http://www.w3.org/2000/svg",
763
+ children: [
764
+ /* @__PURE__ */ jsx5(
765
+ "path",
766
+ {
767
+ 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",
768
+ fill: color
769
+ }
770
+ ),
771
+ /* @__PURE__ */ jsx5(
772
+ "path",
773
+ {
774
+ d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
775
+ fill: color
776
+ }
777
+ ),
778
+ /* @__PURE__ */ jsx5(
779
+ "path",
780
+ {
781
+ 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",
782
+ fill: color
783
+ }
784
+ )
785
+ ]
786
+ }
787
+ );
788
+ var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs4(
789
+ "svg",
790
+ {
791
+ width: size,
792
+ height: size,
793
+ viewBox: "0 0 32 32",
794
+ fill: "none",
795
+ xmlns: "http://www.w3.org/2000/svg",
796
+ children: [
797
+ /* @__PURE__ */ jsx5(
798
+ "path",
799
+ {
800
+ 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",
801
+ fill: color
802
+ }
803
+ ),
804
+ /* @__PURE__ */ jsx5(
805
+ "path",
806
+ {
807
+ 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",
808
+ fill: color
809
+ }
810
+ ),
811
+ /* @__PURE__ */ jsx5(
812
+ "path",
813
+ {
814
+ 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",
815
+ fill: color
816
+ }
817
+ )
818
+ ]
819
+ }
820
+ );
821
+ var IconRender = ({
822
+ iconName,
823
+ color = "#000000",
824
+ size = 24,
825
+ weight = "regular"
826
+ }) => {
827
+ switch (iconName) {
828
+ case "Chat_PT":
829
+ return /* @__PURE__ */ jsx5(ChatPT, { size, color });
830
+ case "Chat_EN":
831
+ return /* @__PURE__ */ jsx5(ChatEN, { size, color });
832
+ case "Chat_ES":
833
+ return /* @__PURE__ */ jsx5(ChatES, { size, color });
834
+ default: {
835
+ const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
836
+ return /* @__PURE__ */ jsx5(IconComponent, { size, color, weight });
837
+ }
838
+ }
839
+ };
840
+ var IconRender_default = IconRender;
841
+
842
+ // src/components/Card/Card.tsx
843
+ import { Fragment as Fragment3, jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
719
844
  var CARD_BASE_CLASSES = {
720
845
  default: "w-full bg-background border border-border-50 rounded-xl",
721
846
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -765,7 +890,7 @@ var CardBase = forwardRef(
765
890
  cursorClasses,
766
891
  className
767
892
  ].filter(Boolean).join(" ");
768
- return /* @__PURE__ */ jsx5("div", { ref, className: combinedClasses, ...props, children });
893
+ return /* @__PURE__ */ jsx6("div", { ref, className: combinedClasses, ...props, children });
769
894
  }
770
895
  );
771
896
  var ACTION_CARD_CLASSES = {
@@ -808,7 +933,7 @@ var CardActivitiesResults = forwardRef(
808
933
  const actionIconClasses = ACTION_ICON_CLASSES[action];
809
934
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
810
935
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
811
- return /* @__PURE__ */ jsxs4(
936
+ return /* @__PURE__ */ jsxs5(
812
937
  "div",
813
938
  {
814
939
  ref,
@@ -818,7 +943,7 @@ var CardActivitiesResults = forwardRef(
818
943
  ),
819
944
  ...props,
820
945
  children: [
821
- /* @__PURE__ */ jsxs4(
946
+ /* @__PURE__ */ jsxs5(
822
947
  "div",
823
948
  {
824
949
  className: cn(
@@ -827,7 +952,7 @@ var CardActivitiesResults = forwardRef(
827
952
  extended ? "rounded-t-xl" : "rounded-xl"
828
953
  ),
829
954
  children: [
830
- /* @__PURE__ */ jsx5(
955
+ /* @__PURE__ */ jsx6(
831
956
  "span",
832
957
  {
833
958
  className: cn(
@@ -837,7 +962,7 @@ var CardActivitiesResults = forwardRef(
837
962
  children: icon
838
963
  }
839
964
  ),
840
- /* @__PURE__ */ jsx5(
965
+ /* @__PURE__ */ jsx6(
841
966
  Text_default,
842
967
  {
843
968
  size: "2xs",
@@ -846,7 +971,7 @@ var CardActivitiesResults = forwardRef(
846
971
  children: title
847
972
  }
848
973
  ),
849
- /* @__PURE__ */ jsx5(
974
+ /* @__PURE__ */ jsx6(
850
975
  "p",
851
976
  {
852
977
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -856,8 +981,8 @@ var CardActivitiesResults = forwardRef(
856
981
  ]
857
982
  }
858
983
  ),
859
- extended && /* @__PURE__ */ jsxs4("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
860
- /* @__PURE__ */ jsx5(
984
+ extended && /* @__PURE__ */ jsxs5("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
985
+ /* @__PURE__ */ jsx6(
861
986
  "p",
862
987
  {
863
988
  className: cn(
@@ -867,7 +992,7 @@ var CardActivitiesResults = forwardRef(
867
992
  children: header
868
993
  }
869
994
  ),
870
- /* @__PURE__ */ jsx5(Badge_default, { size: "large", action: "info", children: description })
995
+ /* @__PURE__ */ jsx6(Badge_default, { size: "large", action: "info", children: description })
871
996
  ] })
872
997
  ]
873
998
  }
@@ -886,7 +1011,7 @@ var CardQuestions = forwardRef(
886
1011
  const isDone = state === "done";
887
1012
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
888
1013
  const buttonLabel = isDone ? "Ver Quest\xE3o" : "Responder";
889
- return /* @__PURE__ */ jsxs4(
1014
+ return /* @__PURE__ */ jsxs5(
890
1015
  CardBase,
891
1016
  {
892
1017
  ref,
@@ -896,10 +1021,10 @@ var CardQuestions = forwardRef(
896
1021
  className: cn("justify-between gap-4", className),
897
1022
  ...props,
898
1023
  children: [
899
- /* @__PURE__ */ jsxs4("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
900
- /* @__PURE__ */ jsx5("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
901
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-row gap-6 items-center", children: [
902
- /* @__PURE__ */ jsx5(
1024
+ /* @__PURE__ */ jsxs5("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1025
+ /* @__PURE__ */ jsx6("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
1026
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-row gap-6 items-center", children: [
1027
+ /* @__PURE__ */ jsx6(
903
1028
  Badge_default,
904
1029
  {
905
1030
  size: "medium",
@@ -908,13 +1033,13 @@ var CardQuestions = forwardRef(
908
1033
  children: stateLabel
909
1034
  }
910
1035
  ),
911
- /* @__PURE__ */ jsxs4("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1036
+ /* @__PURE__ */ jsxs5("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
912
1037
  isDone ? "Nota" : "Sem nota",
913
- isDone && /* @__PURE__ */ jsx5(Badge_default, { size: "medium", action: "success", children: "00" })
1038
+ isDone && /* @__PURE__ */ jsx6(Badge_default, { size: "medium", action: "success", children: "00" })
914
1039
  ] })
915
1040
  ] })
916
1041
  ] }),
917
- /* @__PURE__ */ jsx5("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx5(
1042
+ /* @__PURE__ */ jsx6("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx6(
918
1043
  Button_default,
919
1044
  {
920
1045
  size: "extra-small",
@@ -945,19 +1070,19 @@ var CardProgress = forwardRef(
945
1070
  }, ref) => {
946
1071
  const isHorizontal = direction === "horizontal";
947
1072
  const contentComponent = {
948
- horizontal: /* @__PURE__ */ jsxs4(Fragment3, { children: [
949
- showDates && /* @__PURE__ */ jsxs4("div", { className: "flex flex-row gap-6 items-center", children: [
950
- initialDate && /* @__PURE__ */ jsxs4("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
951
- /* @__PURE__ */ jsx5("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
952
- /* @__PURE__ */ jsx5("p", { className: "text-text-600", children: initialDate })
1073
+ horizontal: /* @__PURE__ */ jsxs5(Fragment3, { children: [
1074
+ showDates && /* @__PURE__ */ jsxs5("div", { className: "flex flex-row gap-6 items-center", children: [
1075
+ initialDate && /* @__PURE__ */ jsxs5("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1076
+ /* @__PURE__ */ jsx6("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
1077
+ /* @__PURE__ */ jsx6("p", { className: "text-text-600", children: initialDate })
953
1078
  ] }),
954
- endDate && /* @__PURE__ */ jsxs4("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
955
- /* @__PURE__ */ jsx5("p", { className: "text-text-800 font-semibold", children: "Fim" }),
956
- /* @__PURE__ */ jsx5("p", { className: "text-text-600", children: endDate })
1079
+ endDate && /* @__PURE__ */ jsxs5("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1080
+ /* @__PURE__ */ jsx6("p", { className: "text-text-800 font-semibold", children: "Fim" }),
1081
+ /* @__PURE__ */ jsx6("p", { className: "text-text-600", children: endDate })
957
1082
  ] })
958
1083
  ] }),
959
- /* @__PURE__ */ jsxs4("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
960
- /* @__PURE__ */ jsx5(
1084
+ /* @__PURE__ */ jsxs5("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1085
+ /* @__PURE__ */ jsx6(
961
1086
  ProgressBar_default,
962
1087
  {
963
1088
  size: "small",
@@ -966,7 +1091,7 @@ var CardProgress = forwardRef(
966
1091
  "data-testid": "progress-bar"
967
1092
  }
968
1093
  ),
969
- /* @__PURE__ */ jsxs4(
1094
+ /* @__PURE__ */ jsxs5(
970
1095
  Text_default,
971
1096
  {
972
1097
  size: "xs",
@@ -982,9 +1107,9 @@ var CardProgress = forwardRef(
982
1107
  )
983
1108
  ] })
984
1109
  ] }),
985
- vertical: /* @__PURE__ */ jsx5("p", { className: "text-sm text-text-800", children: subhead })
1110
+ vertical: /* @__PURE__ */ jsx6("p", { className: "text-sm text-text-800", children: subhead })
986
1111
  };
987
- return /* @__PURE__ */ jsxs4(
1112
+ return /* @__PURE__ */ jsxs5(
988
1113
  CardBase,
989
1114
  {
990
1115
  ref,
@@ -995,7 +1120,7 @@ var CardProgress = forwardRef(
995
1120
  className: cn(isHorizontal ? "h-20" : "", className),
996
1121
  ...props,
997
1122
  children: [
998
- /* @__PURE__ */ jsx5(
1123
+ /* @__PURE__ */ jsx6(
999
1124
  "div",
1000
1125
  {
1001
1126
  className: cn(
@@ -1008,7 +1133,7 @@ var CardProgress = forwardRef(
1008
1133
  children: icon
1009
1134
  }
1010
1135
  ),
1011
- /* @__PURE__ */ jsxs4(
1136
+ /* @__PURE__ */ jsxs5(
1012
1137
  "div",
1013
1138
  {
1014
1139
  className: cn(
@@ -1016,7 +1141,7 @@ var CardProgress = forwardRef(
1016
1141
  !isHorizontal && "gap-4"
1017
1142
  ),
1018
1143
  children: [
1019
- /* @__PURE__ */ jsx5(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
1144
+ /* @__PURE__ */ jsx6(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
1020
1145
  contentComponent[direction]
1021
1146
  ]
1022
1147
  }
@@ -1036,7 +1161,7 @@ var CardTopic = forwardRef(
1036
1161
  className = "",
1037
1162
  ...props
1038
1163
  }, ref) => {
1039
- return /* @__PURE__ */ jsxs4(
1164
+ return /* @__PURE__ */ jsxs5(
1040
1165
  CardBase,
1041
1166
  {
1042
1167
  ref,
@@ -1047,13 +1172,13 @@ var CardTopic = forwardRef(
1047
1172
  className: cn("justify-center gap-2 py-2 px-4", className),
1048
1173
  ...props,
1049
1174
  children: [
1050
- subHead && /* @__PURE__ */ jsx5("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs4(Fragment2, { children: [
1051
- /* @__PURE__ */ jsx5("p", { children: text }),
1052
- index < subHead.length - 1 && /* @__PURE__ */ jsx5("p", { children: "\u2022" })
1175
+ subHead && /* @__PURE__ */ jsx6("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs5(Fragment2, { children: [
1176
+ /* @__PURE__ */ jsx6("p", { children: text }),
1177
+ index < subHead.length - 1 && /* @__PURE__ */ jsx6("p", { children: "\u2022" })
1053
1178
  ] }, `${text} - ${index}`)) }),
1054
- /* @__PURE__ */ jsx5("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
1055
- /* @__PURE__ */ jsxs4("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1056
- /* @__PURE__ */ jsx5(
1179
+ /* @__PURE__ */ jsx6("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
1180
+ /* @__PURE__ */ jsxs5("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1181
+ /* @__PURE__ */ jsx6(
1057
1182
  ProgressBar_default,
1058
1183
  {
1059
1184
  size: "small",
@@ -1062,7 +1187,7 @@ var CardTopic = forwardRef(
1062
1187
  "data-testid": "progress-bar"
1063
1188
  }
1064
1189
  ),
1065
- showPercentage && /* @__PURE__ */ jsxs4(
1190
+ showPercentage && /* @__PURE__ */ jsxs5(
1066
1191
  Text_default,
1067
1192
  {
1068
1193
  size: "xs",
@@ -1096,7 +1221,7 @@ var CardPerformance = forwardRef(
1096
1221
  ...props
1097
1222
  }, ref) => {
1098
1223
  const hasProgress = progress !== void 0;
1099
- return /* @__PURE__ */ jsxs4(
1224
+ return /* @__PURE__ */ jsxs5(
1100
1225
  CardBase,
1101
1226
  {
1102
1227
  ref,
@@ -1110,10 +1235,10 @@ var CardPerformance = forwardRef(
1110
1235
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
1111
1236
  ...props,
1112
1237
  children: [
1113
- /* @__PURE__ */ jsxs4("div", { className: "w-full flex flex-col justify-between gap-2", children: [
1114
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-row justify-between items-center gap-2", children: [
1115
- /* @__PURE__ */ jsx5("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1116
- actionVariant === "button" && /* @__PURE__ */ jsx5(
1238
+ /* @__PURE__ */ jsxs5("div", { className: "w-full flex flex-col justify-between gap-2", children: [
1239
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-row justify-between items-center gap-2", children: [
1240
+ /* @__PURE__ */ jsx6("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1241
+ actionVariant === "button" && /* @__PURE__ */ jsx6(
1117
1242
  Button_default,
1118
1243
  {
1119
1244
  variant: "outline",
@@ -1124,16 +1249,16 @@ var CardPerformance = forwardRef(
1124
1249
  }
1125
1250
  )
1126
1251
  ] }),
1127
- /* @__PURE__ */ jsx5("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx5(
1252
+ /* @__PURE__ */ jsx6("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx6(
1128
1253
  ProgressBar_default,
1129
1254
  {
1130
1255
  value: progress,
1131
1256
  label: `${progress}% ${labelProgress}`,
1132
1257
  variant: progressVariant
1133
1258
  }
1134
- ) : /* @__PURE__ */ jsx5("p", { className: "text-xs text-text-600 truncate", children: description }) })
1259
+ ) : /* @__PURE__ */ jsx6("p", { className: "text-xs text-text-600 truncate", children: description }) })
1135
1260
  ] }),
1136
- actionVariant == "caret" && /* @__PURE__ */ jsx5(
1261
+ actionVariant == "caret" && /* @__PURE__ */ jsx6(
1137
1262
  CaretRight,
1138
1263
  {
1139
1264
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -1157,7 +1282,7 @@ var CardResults = forwardRef(
1157
1282
  ...props
1158
1283
  }, ref) => {
1159
1284
  const isRow = direction == "row";
1160
- return /* @__PURE__ */ jsxs4(
1285
+ return /* @__PURE__ */ jsxs5(
1161
1286
  CardBase,
1162
1287
  {
1163
1288
  ref,
@@ -1167,7 +1292,7 @@ var CardResults = forwardRef(
1167
1292
  className: cn("items-center cursor-pointer pr-4", className),
1168
1293
  ...props,
1169
1294
  children: [
1170
- /* @__PURE__ */ jsx5(
1295
+ /* @__PURE__ */ jsx6(
1171
1296
  "div",
1172
1297
  {
1173
1298
  className: cn(
@@ -1176,10 +1301,10 @@ var CardResults = forwardRef(
1176
1301
  style: {
1177
1302
  backgroundColor: color
1178
1303
  },
1179
- children: icon
1304
+ children: /* @__PURE__ */ jsx6(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1180
1305
  }
1181
1306
  ),
1182
- /* @__PURE__ */ jsxs4(
1307
+ /* @__PURE__ */ jsxs5(
1183
1308
  "div",
1184
1309
  {
1185
1310
  className: cn(
@@ -1187,28 +1312,28 @@ var CardResults = forwardRef(
1187
1312
  isRow ? "flex-row items-center gap-2" : "flex-col"
1188
1313
  ),
1189
1314
  children: [
1190
- /* @__PURE__ */ jsx5("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1191
- /* @__PURE__ */ jsxs4("span", { className: "flex flex-row gap-1 items-center", children: [
1192
- /* @__PURE__ */ jsxs4(
1315
+ /* @__PURE__ */ jsx6("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1316
+ /* @__PURE__ */ jsxs5("span", { className: "flex flex-row gap-1 items-center", children: [
1317
+ /* @__PURE__ */ jsxs5(
1193
1318
  Badge_default,
1194
1319
  {
1195
1320
  action: "success",
1196
1321
  variant: "solid",
1197
1322
  size: "large",
1198
- iconLeft: /* @__PURE__ */ jsx5(CheckCircle, {}),
1323
+ iconLeft: /* @__PURE__ */ jsx6(CheckCircle, {}),
1199
1324
  children: [
1200
1325
  correct_answers,
1201
1326
  " Corretas"
1202
1327
  ]
1203
1328
  }
1204
1329
  ),
1205
- /* @__PURE__ */ jsxs4(
1330
+ /* @__PURE__ */ jsxs5(
1206
1331
  Badge_default,
1207
1332
  {
1208
1333
  action: "error",
1209
1334
  variant: "solid",
1210
1335
  size: "large",
1211
- iconLeft: /* @__PURE__ */ jsx5(XCircle, {}),
1336
+ iconLeft: /* @__PURE__ */ jsx6(XCircle, {}),
1212
1337
  children: [
1213
1338
  incorrect_answers,
1214
1339
  " Incorretas"
@@ -1219,7 +1344,7 @@ var CardResults = forwardRef(
1219
1344
  ]
1220
1345
  }
1221
1346
  ),
1222
- /* @__PURE__ */ jsx5(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1347
+ /* @__PURE__ */ jsx6(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1223
1348
  ]
1224
1349
  }
1225
1350
  );
@@ -1239,7 +1364,7 @@ var CardStatus = forwardRef(
1239
1364
  return "Em branco";
1240
1365
  }
1241
1366
  };
1242
- return /* @__PURE__ */ jsx5(
1367
+ return /* @__PURE__ */ jsx6(
1243
1368
  CardBase,
1244
1369
  {
1245
1370
  ref,
@@ -1248,22 +1373,22 @@ var CardStatus = forwardRef(
1248
1373
  minHeight: "medium",
1249
1374
  className: cn("items-center cursor-pointer", className),
1250
1375
  ...props,
1251
- children: /* @__PURE__ */ jsxs4("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
1252
- /* @__PURE__ */ jsx5("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1253
- /* @__PURE__ */ jsxs4("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
1254
- status && /* @__PURE__ */ jsx5(
1376
+ children: /* @__PURE__ */ jsxs5("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
1377
+ /* @__PURE__ */ jsx6("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1378
+ /* @__PURE__ */ jsxs5("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
1379
+ status && /* @__PURE__ */ jsx6(
1255
1380
  Badge_default,
1256
1381
  {
1257
1382
  action: status == "correct" ? "success" : "error",
1258
1383
  variant: "solid",
1259
1384
  size: "medium",
1260
- iconLeft: status == "correct" ? /* @__PURE__ */ jsx5(CheckCircle, {}) : /* @__PURE__ */ jsx5(XCircle, {}),
1385
+ iconLeft: status == "correct" ? /* @__PURE__ */ jsx6(CheckCircle, {}) : /* @__PURE__ */ jsx6(XCircle, {}),
1261
1386
  children: getLabelBadge(status)
1262
1387
  }
1263
1388
  ),
1264
- label && /* @__PURE__ */ jsx5("p", { className: "text-sm text-text-800", children: label })
1389
+ label && /* @__PURE__ */ jsx6("p", { className: "text-sm text-text-800", children: label })
1265
1390
  ] }),
1266
- /* @__PURE__ */ jsx5(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
1391
+ /* @__PURE__ */ jsx6(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
1267
1392
  ] })
1268
1393
  }
1269
1394
  );
@@ -1271,7 +1396,7 @@ var CardStatus = forwardRef(
1271
1396
  );
1272
1397
  var CardSettings = forwardRef(
1273
1398
  ({ header, className, icon, ...props }, ref) => {
1274
- return /* @__PURE__ */ jsxs4(
1399
+ return /* @__PURE__ */ jsxs5(
1275
1400
  CardBase,
1276
1401
  {
1277
1402
  ref,
@@ -1284,9 +1409,9 @@ var CardSettings = forwardRef(
1284
1409
  ),
1285
1410
  ...props,
1286
1411
  children: [
1287
- /* @__PURE__ */ jsx5("span", { className: "[&>svg]:size-6", children: icon }),
1288
- /* @__PURE__ */ jsx5("p", { className: "w-full text-sm truncate", children: header }),
1289
- /* @__PURE__ */ jsx5(CaretRight, { size: 24, className: "cursor-pointer" })
1412
+ /* @__PURE__ */ jsx6("span", { className: "[&>svg]:size-6", children: icon }),
1413
+ /* @__PURE__ */ jsx6("p", { className: "w-full text-sm truncate", children: header }),
1414
+ /* @__PURE__ */ jsx6(CaretRight, { size: 24, className: "cursor-pointer" })
1290
1415
  ]
1291
1416
  }
1292
1417
  );
@@ -1294,7 +1419,7 @@ var CardSettings = forwardRef(
1294
1419
  );
1295
1420
  var CardSupport = forwardRef(
1296
1421
  ({ header, className, direction = "col", children, ...props }, ref) => {
1297
- return /* @__PURE__ */ jsxs4(
1422
+ return /* @__PURE__ */ jsxs5(
1298
1423
  CardBase,
1299
1424
  {
1300
1425
  ref,
@@ -1307,7 +1432,7 @@ var CardSupport = forwardRef(
1307
1432
  ),
1308
1433
  ...props,
1309
1434
  children: [
1310
- /* @__PURE__ */ jsxs4(
1435
+ /* @__PURE__ */ jsxs5(
1311
1436
  "div",
1312
1437
  {
1313
1438
  className: cn(
@@ -1315,12 +1440,12 @@ var CardSupport = forwardRef(
1315
1440
  direction == "col" ? "flex-col" : "flex-row items-center"
1316
1441
  ),
1317
1442
  children: [
1318
- /* @__PURE__ */ jsx5("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx5("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
1319
- /* @__PURE__ */ jsx5("span", { className: "flex flex-row gap-1", children })
1443
+ /* @__PURE__ */ jsx6("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx6("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
1444
+ /* @__PURE__ */ jsx6("span", { className: "flex flex-row gap-1", children })
1320
1445
  ]
1321
1446
  }
1322
1447
  ),
1323
- /* @__PURE__ */ jsx5(CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
1448
+ /* @__PURE__ */ jsx6(CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
1324
1449
  ]
1325
1450
  }
1326
1451
  );
@@ -1340,7 +1465,7 @@ var CardForum = forwardRef(
1340
1465
  hour,
1341
1466
  ...props
1342
1467
  }, ref) => {
1343
- return /* @__PURE__ */ jsxs4(
1468
+ return /* @__PURE__ */ jsxs5(
1344
1469
  CardBase,
1345
1470
  {
1346
1471
  ref,
@@ -1351,7 +1476,7 @@ var CardForum = forwardRef(
1351
1476
  className: cn("w-auto h-auto gap-3", className),
1352
1477
  ...props,
1353
1478
  children: [
1354
- /* @__PURE__ */ jsx5(
1479
+ /* @__PURE__ */ jsx6(
1355
1480
  "button",
1356
1481
  {
1357
1482
  type: "button",
@@ -1360,18 +1485,18 @@ var CardForum = forwardRef(
1360
1485
  className: "min-w-8 h-8 rounded-full bg-background-950"
1361
1486
  }
1362
1487
  ),
1363
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
1364
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
1365
- /* @__PURE__ */ jsx5("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
1366
- /* @__PURE__ */ jsxs4("p", { className: "text-xs text-text-600", children: [
1488
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
1489
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
1490
+ /* @__PURE__ */ jsx6("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
1491
+ /* @__PURE__ */ jsxs5("p", { className: "text-xs text-text-600", children: [
1367
1492
  "\u2022 ",
1368
1493
  date,
1369
1494
  " \u2022 ",
1370
1495
  hour
1371
1496
  ] })
1372
1497
  ] }),
1373
- /* @__PURE__ */ jsx5("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
1374
- /* @__PURE__ */ jsxs4(
1498
+ /* @__PURE__ */ jsx6("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
1499
+ /* @__PURE__ */ jsxs5(
1375
1500
  "button",
1376
1501
  {
1377
1502
  type: "button",
@@ -1379,8 +1504,8 @@ var CardForum = forwardRef(
1379
1504
  onClick: () => onClickComments?.(valueComments),
1380
1505
  className: "text-text-600 flex flex-row gap-2 items-center",
1381
1506
  children: [
1382
- /* @__PURE__ */ jsx5(ChatCircleText, { "aria-hidden": "true", size: 16 }),
1383
- /* @__PURE__ */ jsxs4("p", { className: "text-xs", children: [
1507
+ /* @__PURE__ */ jsx6(ChatCircleText, { "aria-hidden": "true", size: 16 }),
1508
+ /* @__PURE__ */ jsxs5("p", { className: "text-xs", children: [
1384
1509
  comments,
1385
1510
  " respostas"
1386
1511
  ] })
@@ -1479,14 +1604,14 @@ var CardAudio = forwardRef(
1479
1604
  };
1480
1605
  const getVolumeIcon = () => {
1481
1606
  if (volume === 0) {
1482
- return /* @__PURE__ */ jsx5(SpeakerSimpleX, {});
1607
+ return /* @__PURE__ */ jsx6(SpeakerSimpleX, {});
1483
1608
  }
1484
1609
  if (volume < 0.5) {
1485
- return /* @__PURE__ */ jsx5(SpeakerLow, {});
1610
+ return /* @__PURE__ */ jsx6(SpeakerLow, {});
1486
1611
  }
1487
- return /* @__PURE__ */ jsx5(SpeakerHigh, {});
1612
+ return /* @__PURE__ */ jsx6(SpeakerHigh, {});
1488
1613
  };
1489
- return /* @__PURE__ */ jsxs4(
1614
+ return /* @__PURE__ */ jsxs5(
1490
1615
  CardBase,
1491
1616
  {
1492
1617
  ref,
@@ -1496,7 +1621,7 @@ var CardAudio = forwardRef(
1496
1621
  className: cn("w-auto h-14 items-center gap-2", className),
1497
1622
  ...props,
1498
1623
  children: [
1499
- /* @__PURE__ */ jsx5(
1624
+ /* @__PURE__ */ jsx6(
1500
1625
  "audio",
1501
1626
  {
1502
1627
  ref: audioRef,
@@ -1508,7 +1633,7 @@ var CardAudio = forwardRef(
1508
1633
  onEnded: handleEnded,
1509
1634
  "data-testid": "audio-element",
1510
1635
  "aria-label": title,
1511
- children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx5(
1636
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx6(
1512
1637
  "track",
1513
1638
  {
1514
1639
  kind: track.kind,
@@ -1518,7 +1643,7 @@ var CardAudio = forwardRef(
1518
1643
  default: track.default
1519
1644
  },
1520
1645
  track.src
1521
- )) : /* @__PURE__ */ jsx5(
1646
+ )) : /* @__PURE__ */ jsx6(
1522
1647
  "track",
1523
1648
  {
1524
1649
  kind: "captions",
@@ -1529,7 +1654,7 @@ var CardAudio = forwardRef(
1529
1654
  )
1530
1655
  }
1531
1656
  ),
1532
- /* @__PURE__ */ jsx5(
1657
+ /* @__PURE__ */ jsx6(
1533
1658
  "button",
1534
1659
  {
1535
1660
  type: "button",
@@ -1537,14 +1662,14 @@ var CardAudio = forwardRef(
1537
1662
  disabled: !src,
1538
1663
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
1539
1664
  "aria-label": isPlaying ? "Pausar" : "Reproduzir",
1540
- children: isPlaying ? /* @__PURE__ */ jsx5("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ jsxs4("div", { className: "flex gap-0.5", children: [
1541
- /* @__PURE__ */ jsx5("div", { className: "w-1 h-4 bg-current rounded-sm" }),
1542
- /* @__PURE__ */ jsx5("div", { className: "w-1 h-4 bg-current rounded-sm" })
1543
- ] }) }) : /* @__PURE__ */ jsx5(Play, { size: 24 })
1665
+ children: isPlaying ? /* @__PURE__ */ jsx6("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ jsxs5("div", { className: "flex gap-0.5", children: [
1666
+ /* @__PURE__ */ jsx6("div", { className: "w-1 h-4 bg-current rounded-sm" }),
1667
+ /* @__PURE__ */ jsx6("div", { className: "w-1 h-4 bg-current rounded-sm" })
1668
+ ] }) }) : /* @__PURE__ */ jsx6(Play, { size: 24 })
1544
1669
  }
1545
1670
  ),
1546
- /* @__PURE__ */ jsx5("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
1547
- /* @__PURE__ */ jsx5("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx5(
1671
+ /* @__PURE__ */ jsx6("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
1672
+ /* @__PURE__ */ jsx6("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx6(
1548
1673
  "button",
1549
1674
  {
1550
1675
  type: "button",
@@ -1559,7 +1684,7 @@ var CardAudio = forwardRef(
1559
1684
  }
1560
1685
  },
1561
1686
  "aria-label": "Barra de progresso do \xE1udio",
1562
- children: /* @__PURE__ */ jsx5(
1687
+ children: /* @__PURE__ */ jsx6(
1563
1688
  "div",
1564
1689
  {
1565
1690
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -1570,19 +1695,19 @@ var CardAudio = forwardRef(
1570
1695
  )
1571
1696
  }
1572
1697
  ) }),
1573
- /* @__PURE__ */ jsx5("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(duration) }),
1574
- /* @__PURE__ */ jsxs4("div", { className: "relative", children: [
1575
- /* @__PURE__ */ jsx5(
1698
+ /* @__PURE__ */ jsx6("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(duration) }),
1699
+ /* @__PURE__ */ jsxs5("div", { className: "relative", children: [
1700
+ /* @__PURE__ */ jsx6(
1576
1701
  "button",
1577
1702
  {
1578
1703
  type: "button",
1579
1704
  onClick: toggleVolumeControl,
1580
1705
  className: "cursor-pointer text-text-950 hover:text-primary-600",
1581
1706
  "aria-label": "Controle de volume",
1582
- children: /* @__PURE__ */ jsx5("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
1707
+ children: /* @__PURE__ */ jsx6("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
1583
1708
  }
1584
1709
  ),
1585
- showVolumeControl && /* @__PURE__ */ jsx5(
1710
+ showVolumeControl && /* @__PURE__ */ jsx6(
1586
1711
  "button",
1587
1712
  {
1588
1713
  type: "button",
@@ -1592,7 +1717,7 @@ var CardAudio = forwardRef(
1592
1717
  setShowVolumeControl(false);
1593
1718
  }
1594
1719
  },
1595
- children: /* @__PURE__ */ jsx5(
1720
+ children: /* @__PURE__ */ jsx6(
1596
1721
  "input",
1597
1722
  {
1598
1723
  type: "range",
@@ -1633,22 +1758,22 @@ var CardAudio = forwardRef(
1633
1758
  }
1634
1759
  )
1635
1760
  ] }),
1636
- /* @__PURE__ */ jsxs4("div", { className: "relative", children: [
1637
- /* @__PURE__ */ jsx5(
1761
+ /* @__PURE__ */ jsxs5("div", { className: "relative", children: [
1762
+ /* @__PURE__ */ jsx6(
1638
1763
  "button",
1639
1764
  {
1640
1765
  type: "button",
1641
1766
  onClick: toggleSpeedMenu,
1642
1767
  className: "cursor-pointer text-text-950 hover:text-primary-600",
1643
1768
  "aria-label": "Op\xE7\xF5es de velocidade",
1644
- children: /* @__PURE__ */ jsx5(DotsThreeVertical, { size: 24 })
1769
+ children: /* @__PURE__ */ jsx6(DotsThreeVertical, { size: 24 })
1645
1770
  }
1646
1771
  ),
1647
- showSpeedMenu && /* @__PURE__ */ jsx5("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__ */ jsx5("div", { className: "flex flex-col gap-1", children: [
1772
+ showSpeedMenu && /* @__PURE__ */ jsx6("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__ */ jsx6("div", { className: "flex flex-col gap-1", children: [
1648
1773
  { speed: 1, label: "1x" },
1649
1774
  { speed: 1.5, label: "1.5x" },
1650
1775
  { speed: 2, label: "2x" }
1651
- ].map(({ speed, label }) => /* @__PURE__ */ jsx5(
1776
+ ].map(({ speed, label }) => /* @__PURE__ */ jsx6(
1652
1777
  "button",
1653
1778
  {
1654
1779
  type: "button",
@@ -1676,7 +1801,7 @@ var SIMULADO_BACKGROUND_CLASSES = {
1676
1801
  var CardSimulado = forwardRef(
1677
1802
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
1678
1803
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
1679
- return /* @__PURE__ */ jsx5(
1804
+ return /* @__PURE__ */ jsx6(
1680
1805
  CardBase,
1681
1806
  {
1682
1807
  ref,
@@ -1689,18 +1814,18 @@ var CardSimulado = forwardRef(
1689
1814
  className
1690
1815
  ),
1691
1816
  ...props,
1692
- children: /* @__PURE__ */ jsxs4("div", { className: "flex justify-between items-center w-full gap-4", children: [
1693
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1694
- /* @__PURE__ */ jsx5(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
1695
- /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-4 text-text-700", children: [
1696
- duration && /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-1", children: [
1697
- /* @__PURE__ */ jsx5(Clock, { size: 16, className: "flex-shrink-0" }),
1698
- /* @__PURE__ */ jsx5(Text_default, { size: "sm", children: duration })
1817
+ children: /* @__PURE__ */ jsxs5("div", { className: "flex justify-between items-center w-full gap-4", children: [
1818
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1819
+ /* @__PURE__ */ jsx6(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
1820
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-4 text-text-700", children: [
1821
+ duration && /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-1", children: [
1822
+ /* @__PURE__ */ jsx6(Clock, { size: 16, className: "flex-shrink-0" }),
1823
+ /* @__PURE__ */ jsx6(Text_default, { size: "sm", children: duration })
1699
1824
  ] }),
1700
- /* @__PURE__ */ jsx5(Text_default, { size: "sm", className: "truncate", children: info })
1825
+ /* @__PURE__ */ jsx6(Text_default, { size: "sm", className: "truncate", children: info })
1701
1826
  ] })
1702
1827
  ] }),
1703
- /* @__PURE__ */ jsx5(
1828
+ /* @__PURE__ */ jsx6(
1704
1829
  CaretRight,
1705
1830
  {
1706
1831
  size: 24,
@@ -1745,7 +1870,7 @@ var CardTest = forwardRef(
1745
1870
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
1746
1871
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
1747
1872
  if (isSelectable) {
1748
- return /* @__PURE__ */ jsx5(
1873
+ return /* @__PURE__ */ jsx6(
1749
1874
  "button",
1750
1875
  {
1751
1876
  ref,
@@ -1757,8 +1882,8 @@ var CardTest = forwardRef(
1757
1882
  onKeyDown: handleKeyDown,
1758
1883
  "aria-pressed": selected,
1759
1884
  ...props,
1760
- children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1761
- /* @__PURE__ */ jsx5(
1885
+ children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1886
+ /* @__PURE__ */ jsx6(
1762
1887
  Text_default,
1763
1888
  {
1764
1889
  size: "md",
@@ -1767,10 +1892,10 @@ var CardTest = forwardRef(
1767
1892
  children: title
1768
1893
  }
1769
1894
  ),
1770
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1771
- duration && /* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1772
- /* @__PURE__ */ jsx5(Clock, { size: 16, className: "text-text-700" }),
1773
- /* @__PURE__ */ jsx5(
1895
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1896
+ duration && /* @__PURE__ */ jsxs5("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1897
+ /* @__PURE__ */ jsx6(Clock, { size: 16, className: "text-text-700" }),
1898
+ /* @__PURE__ */ jsx6(
1774
1899
  Text_default,
1775
1900
  {
1776
1901
  size: "sm",
@@ -1779,7 +1904,7 @@ var CardTest = forwardRef(
1779
1904
  }
1780
1905
  )
1781
1906
  ] }),
1782
- /* @__PURE__ */ jsx5(
1907
+ /* @__PURE__ */ jsx6(
1783
1908
  Text_default,
1784
1909
  {
1785
1910
  size: "sm",
@@ -1792,14 +1917,14 @@ var CardTest = forwardRef(
1792
1917
  }
1793
1918
  );
1794
1919
  }
1795
- return /* @__PURE__ */ jsx5(
1920
+ return /* @__PURE__ */ jsx6(
1796
1921
  "div",
1797
1922
  {
1798
1923
  ref,
1799
1924
  className: cn(`${baseClasses} ${className}`.trim()),
1800
1925
  ...props,
1801
- children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1802
- /* @__PURE__ */ jsx5(
1926
+ children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1927
+ /* @__PURE__ */ jsx6(
1803
1928
  Text_default,
1804
1929
  {
1805
1930
  size: "md",
@@ -1808,10 +1933,10 @@ var CardTest = forwardRef(
1808
1933
  children: title
1809
1934
  }
1810
1935
  ),
1811
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1812
- duration && /* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1813
- /* @__PURE__ */ jsx5(Clock, { size: 16, className: "text-text-700" }),
1814
- /* @__PURE__ */ jsx5(
1936
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1937
+ duration && /* @__PURE__ */ jsxs5("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1938
+ /* @__PURE__ */ jsx6(Clock, { size: 16, className: "text-text-700" }),
1939
+ /* @__PURE__ */ jsx6(
1815
1940
  Text_default,
1816
1941
  {
1817
1942
  size: "sm",
@@ -1820,7 +1945,7 @@ var CardTest = forwardRef(
1820
1945
  }
1821
1946
  )
1822
1947
  ] }),
1823
- /* @__PURE__ */ jsx5(
1948
+ /* @__PURE__ */ jsx6(
1824
1949
  Text_default,
1825
1950
  {
1826
1951
  size: "sm",
@@ -1857,14 +1982,14 @@ var SIMULATION_TYPE_STYLES = {
1857
1982
  }
1858
1983
  };
1859
1984
  var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ...props }, ref) => {
1860
- return /* @__PURE__ */ jsx5(
1985
+ return /* @__PURE__ */ jsx6(
1861
1986
  "div",
1862
1987
  {
1863
1988
  ref,
1864
1989
  className: cn("w-full max-w-[992px] h-auto", className),
1865
1990
  ...props,
1866
- children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-0", children: [
1867
- data.map((section, sectionIndex) => /* @__PURE__ */ jsx5("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs4(
1991
+ children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-0", children: [
1992
+ data.map((section, sectionIndex) => /* @__PURE__ */ jsx6("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs5(
1868
1993
  "div",
1869
1994
  {
1870
1995
  className: cn(
@@ -1872,7 +1997,7 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1872
1997
  sectionIndex === 0 ? "rounded-t-3xl" : ""
1873
1998
  ),
1874
1999
  children: [
1875
- /* @__PURE__ */ jsx5(
2000
+ /* @__PURE__ */ jsx6(
1876
2001
  Text_default,
1877
2002
  {
1878
2003
  size: "xs",
@@ -1881,9 +2006,9 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1881
2006
  children: section.date
1882
2007
  }
1883
2008
  ),
1884
- /* @__PURE__ */ jsx5("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
2009
+ /* @__PURE__ */ jsx6("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
1885
2010
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
1886
- return /* @__PURE__ */ jsx5(
2011
+ return /* @__PURE__ */ jsx6(
1887
2012
  CardBase,
1888
2013
  {
1889
2014
  layout: "horizontal",
@@ -1895,9 +2020,9 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1895
2020
  transition-shadow duration-200 h-auto min-h-[61px]`
1896
2021
  ),
1897
2022
  onClick: () => onSimulationClick?.(simulation),
1898
- children: /* @__PURE__ */ jsxs4("div", { className: "flex justify-between items-center w-full gap-2", children: [
1899
- /* @__PURE__ */ jsxs4("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
1900
- /* @__PURE__ */ jsx5(
2023
+ children: /* @__PURE__ */ jsxs5("div", { className: "flex justify-between items-center w-full gap-2", children: [
2024
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
2025
+ /* @__PURE__ */ jsx6(
1901
2026
  Text_default,
1902
2027
  {
1903
2028
  size: "lg",
@@ -1906,8 +2031,8 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1906
2031
  children: simulation.title
1907
2032
  }
1908
2033
  ),
1909
- /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2", children: [
1910
- /* @__PURE__ */ jsx5(
2034
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
2035
+ /* @__PURE__ */ jsx6(
1911
2036
  Badge_default,
1912
2037
  {
1913
2038
  variant: "examsOutlined",
@@ -1916,10 +2041,10 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1916
2041
  children: typeStyles.text
1917
2042
  }
1918
2043
  ),
1919
- /* @__PURE__ */ jsx5(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
2044
+ /* @__PURE__ */ jsx6(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
1920
2045
  ] })
1921
2046
  ] }),
1922
- /* @__PURE__ */ jsx5(
2047
+ /* @__PURE__ */ jsx6(
1923
2048
  CaretRight,
1924
2049
  {
1925
2050
  size: 24,
@@ -1935,7 +2060,7 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1935
2060
  ]
1936
2061
  }
1937
2062
  ) }, section.date)),
1938
- data.length > 0 && /* @__PURE__ */ jsx5("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
2063
+ data.length > 0 && /* @__PURE__ */ jsx6("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
1939
2064
  ] })
1940
2065
  }
1941
2066
  );
@@ -1943,7 +2068,7 @@ var CardSimulationHistory = forwardRef(({ data, onSimulationClick, className, ..
1943
2068
 
1944
2069
  // src/components/Accordation/Accordation.tsx
1945
2070
  import { CaretRight as CaretRight2 } from "phosphor-react";
1946
- import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
2071
+ import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
1947
2072
  var CardAccordation = forwardRef2(
1948
2073
  ({
1949
2074
  trigger,
@@ -1966,7 +2091,7 @@ var CardAccordation = forwardRef2(
1966
2091
  handleToggle();
1967
2092
  }
1968
2093
  };
1969
- return /* @__PURE__ */ jsxs5(
2094
+ return /* @__PURE__ */ jsxs6(
1970
2095
  CardBase,
1971
2096
  {
1972
2097
  ref,
@@ -1976,7 +2101,7 @@ var CardAccordation = forwardRef2(
1976
2101
  className: cn("overflow-hidden", className),
1977
2102
  ...props,
1978
2103
  children: [
1979
- /* @__PURE__ */ jsxs5(
2104
+ /* @__PURE__ */ jsxs6(
1980
2105
  "button",
1981
2106
  {
1982
2107
  onClick: handleToggle,
@@ -1986,7 +2111,7 @@ var CardAccordation = forwardRef2(
1986
2111
  "aria-controls": "accordion-content",
1987
2112
  children: [
1988
2113
  trigger,
1989
- /* @__PURE__ */ jsx6(
2114
+ /* @__PURE__ */ jsx7(
1990
2115
  CaretRight2,
1991
2116
  {
1992
2117
  size: 20,
@@ -2000,7 +2125,7 @@ var CardAccordation = forwardRef2(
2000
2125
  ]
2001
2126
  }
2002
2127
  ),
2003
- /* @__PURE__ */ jsx6(
2128
+ /* @__PURE__ */ jsx7(
2004
2129
  "div",
2005
2130
  {
2006
2131
  id: contentId,
@@ -2009,7 +2134,7 @@ var CardAccordation = forwardRef2(
2009
2134
  isExpanded ? "max-h-screen opacity-100" : "max-h-0 opacity-0"
2010
2135
  ),
2011
2136
  "data-testid": "accordion-content",
2012
- children: /* @__PURE__ */ jsx6("div", { className: "p-4 pt-0 border-border-50", children })
2137
+ children: /* @__PURE__ */ jsx7("div", { className: "p-4 pt-0 border-border-50", children })
2013
2138
  }
2014
2139
  )
2015
2140
  ]