frst-components 0.20.29 → 0.20.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1821,176 +1821,103 @@ function RatingCurtidas(props) {
1821
1821
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$f.container, style: { ...props.style }, children: [jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'flex-start', alignItems: 'center', fontSize: 16, fontWeight: 600 }, children: props.titulo }), jsxRuntime.jsxs("div", { style: { display: 'flex', width: '100%', justifyContent: 'flex-start', alignItems: 'flex-start' }, children: [jsxRuntime.jsx("div", { style: { display: 'inline-flex', width: 40, height: 40, justifyContent: 'center', alignItems: 'center', position: 'relative' }, children: jsxRuntime.jsx(RocketButton, { tipoBotao: props.tipoBotao }) }), jsxRuntime.jsx("div", { style: { display: 'inline-flex', width: 90, marginLeft: 4 }, children: jsxRuntime.jsxs("div", { style: { display: 'flex', flexDirection: 'column', flexWrap: 'wrap', width: 100 }, children: [jsxRuntime.jsx("span", { style: { fontSize: 14, fontWeight: 600 }, children: props.qtdeCurtidas ? props.qtdeCurtidas : 0 }), jsxRuntime.jsx("span", { style: { fontSize: 12, fontWeight: 400 }, children: props.descricaoCurtida })] }) })] })] }) }));
1822
1822
  }
1823
1823
 
1824
- var css_248z$f = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.Planet-module_container__YS3oo {\n width: 100px;\n height: 100px;\n display: flex;\n justify-content: 'center';\n align-items: 'center';\n position: relative;\n margin-left: 16px;\n\n text-align: center;\n font-size: 26px;\n font-family: 'VT323', monospace;\n color: white;\n -webkit-text-stroke: 0.5px black;\n text-shadow:2px 0 0 black,0 2px 0 black,-2px 0 0 black,0 -2px 0 black;\n}\n\n.Planet-module_label__bZgzb {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n padding: 2px;\n border: 2px dashed white;\n bottom: 0;\n left: 8px;\n right: 8px;\n width: calc(100% -16px);\n}\n@media (max-width: 600px) {\n .Planet-module_label__bZgzb {\n font-size: 22px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 540px) {\n .Planet-module_label__bZgzb {\n font-size: 18px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 470px) {\n .Planet-module_label__bZgzb {\n font-size: 16px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 400px) {\n .Planet-module_label__bZgzb {\n font-size: 14px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n.Planet-module_block__yUjqK {\n position: absolute;\n justify-content: center;\n align-items: center;\n display: flex;\n padding: 4px;\n \n bottom: 16px;\n left: 0;\n right: 0;\n top: 0;\n /* width: calc(100% -16px); */\n \n}\n\n.Planet-module_block__yUjqK img {\n width: 50%;\n height: 50%;\n object-fit: contain;\n margin-top: 0;\n}\n\n.Planet-module_imgAtive__dgis2 {\n filter: grayscale(0);\n opacity: 1;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;\n}\n\n.Planet-module_imgAtive__dgis2:hover {\n cursor: pointer\n}\n\n.Planet-module_imgInative__RXloV {\n filter: grayscale(1);\n opacity: 1;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;\n}\n\n.Planet-module_imgInative__RXloV:hover {\n cursor: pointer;\n}\n\n.Planet-module_imgBlocked__txZ4a {\n filter: grayscale(1);\n opacity: 0.5;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;;\n}\n\n.Planet-module_imgBlockedL__xcI-B:hover {\n cursor: not-allowed;\n}\n\n.Planet-module_missaoTitle__RbGDH{\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n display: flex;\n align-items: center;\n \n color: #0645AD;\n}";
1825
- var style$e = {"container":"Planet-module_container__YS3oo","label":"Planet-module_label__bZgzb","block":"Planet-module_block__yUjqK","imgAtive":"Planet-module_imgAtive__dgis2","imgInative":"Planet-module_imgInative__RXloV","imgBlocked":"Planet-module_imgBlocked__txZ4a","imgBlockedL":"Planet-module_imgBlockedL__xcI-B","missaoTitle":"Planet-module_missaoTitle__RbGDH"};
1826
- styleInject(css_248z$f);
1824
+ const ProgressBar$2 = styled__default["default"](material.Box) `
1825
+ display: flex;
1826
+ justify-content: space-between;
1827
+ max-width: calc(100% - 66px);
1828
+ margin: auto;
1829
+ margin-bottom: -28px;
1830
+
1831
+ @media (max-width: 400px) {
1832
+ max-width: calc(100% - 50px);
1833
+ margin-bottom: -28px;
1834
+ }
1835
+ `;
1836
+ const ProgressItem$1 = styled__default["default"](material.Box) `
1837
+ height: 8px;
1838
+ background: ${({ active }) => active ? '#FEA852' : '#D9D9D9'};
1839
+ width: 100%;
1840
+ @media (max-width: 400px) {
1841
+ height: 5px;
1842
+ }
1843
+ `;
1844
+ const ContainerSteps = styled__default["default"](material.Box) `
1845
+ display: flex;
1846
+ justify-content: space-between;
1847
+ max-width: 100%;
1848
+ margin: auto;
1849
+ position: relative;
1850
+ z-index: 1;
1851
+ `;
1852
+ const CicleStep = styled__default["default"](material.Box) `
1853
+ width: 50px;
1854
+ height: 50px;
1855
+ border-radius: 50%;
1856
+ background: #FFE0C2;
1857
+ color: #FFF;
1858
+ opacity: ${({ variant }) => variant == 'selected' ? '0.5' : '0'};
1859
+ cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
1860
+ @media (max-width: 400px) {
1861
+ opacity: 0;
1862
+ width: 25px;
1863
+ height: 25px;
1864
+ }
1865
+ `;
1866
+ const CicleStepChar = styled__default["default"](material.Box) `
1867
+ display: flex;
1868
+ justify-content: center;
1869
+ align-items: center;
1870
+ width: 30px;
1871
+ height: 30px;
1872
+ border-radius: 50%;
1873
+ color: #FFF;
1874
+ margin-left: 10px;
1875
+ margin-top: -40px;
1876
+ background: ${({ variant }) => variant == 'disabled' ? ('#BDBDBD') : (variant == 'selected' ? '#F26818' : '#FEA852')};
1877
+ position: ${({ variant }) => variant != 'disabled' && 'relative'};
1878
+ cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
1827
1879
 
1828
- ///-----------------------------------------
1829
- /// Componente
1830
- /**
1831
- *
1832
- * @componente Planet: Componente responsável por gerenciar os controles dos steps das missões
1833
- */
1834
- function Steps(props) {
1835
- const TypeStep = [
1836
- 'https://api-motor.s3.amazonaws.com/marte.png',
1837
- 'https://api-motor.s3.amazonaws.com/jupter.png',
1838
- 'https://api-motor.s3.amazonaws.com/saturno.png',
1839
- 'https://api-motor.s3.amazonaws.com/urano.png',
1840
- 'https://api-motor.s3.amazonaws.com/netuno.png',
1841
- ];
1842
- const TypeStepNamePTBR = [
1843
- 'Marte',
1844
- 'Júpiter',
1845
- 'Saturno',
1846
- 'Urano',
1847
- 'Netuno',
1848
- ];
1849
- const TypeStepNamePT = [
1850
- 'Marte',
1851
- 'Júpiter',
1852
- 'Saturno',
1853
- 'Urano',
1854
- 'Netuno',
1855
- ];
1856
- const TypeStepNameEN = [
1857
- 'Mars',
1858
- 'Jupiter',
1859
- 'Saturn',
1860
- 'Uranus',
1861
- 'Neptune',
1862
- ];
1863
- const TypeStepNameES = [
1864
- 'Marte',
1865
- 'Júpiter',
1866
- 'Saturno',
1867
- 'Urano',
1868
- 'Netuno',
1869
- ];
1870
- const mapTraducao = new Map();
1871
- mapTraducao.set("pt-BR", TypeStepNamePTBR);
1872
- mapTraducao.set("pt-PT", TypeStepNamePT);
1873
- mapTraducao.set("en-US", TypeStepNameEN);
1874
- mapTraducao.set("es", TypeStepNameES);
1875
- const [Idioma, setIdioma] = React.useState(props.idioma ? props.idioma : 'pt-BR');
1876
- React.useEffect(() => {
1877
- setIdioma(props.idioma ? props.idioma : 'pt-BR');
1878
- }, [props.idioma]);
1879
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$e.container, style: { ...props.style }, onClick: () => {
1880
- if (props.status !== 'B') {
1881
- props.onClick();
1882
- }
1883
- }, children: [jsxRuntime.jsx("img", { src: TypeStep[props.step - 1], className: props.status === "A" ?
1884
- style$e.imgAtive
1885
- : props.status === "I" ?
1886
- style$e.imgInative
1887
- : style$e.imgBlocked }), jsxRuntime.jsx("div", { className: style$e.label, children: mapTraducao.get(Idioma)[props.step - 1] }), props.status === 'B' &&
1888
- jsxRuntime.jsx("div", { className: style$e.block, children: jsxRuntime.jsx("img", { src: 'https://api-motor.s3.amazonaws.com/lock.png' }) })] }) }));
1889
- }
1880
+ @media (max-width: 400px) {
1881
+ width: 15px;
1882
+ height: 15px;
1883
+ margin-top: -8px;
1884
+ }
1885
+ `;
1886
+ const CicleStepName = styled__default["default"](material.Box) `
1887
+ margin-left: -10px;
1888
+ margin-top: 20px;
1889
+ width: 70px;
1890
+ text-align: center;
1891
+ color: ${({ variant }) => variant == 'disabled' ? ('#757575') : (variant == 'selected' ? '#F26818' : '#222')};
1892
+ font-weight: ${({ variant }) => variant == 'selected' ? '600' : '400'};
1893
+ cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
1890
1894
 
1891
- ///-----------------------------------------
1892
- /// Componente
1893
- /**
1894
- *
1895
- * @componente Planet: Componente responsável por gerenciar os controles dos steps das missões
1896
- */
1897
- function MissionSteps(props) {
1898
- const traducaoPTBR = {
1899
- next: "Ver missão seguinte >",
1900
- nextShort: "Próx. >",
1901
- previous: "< Ver missão anterior",
1902
- previousShort: "< Ant.",
1903
- continueChallenge: "Continuar desafio"
1904
- };
1905
- const traducaoES = {
1906
- next: "Ver misión siguiente >",
1907
- nextShort: "Próx. >",
1908
- previous: "< Ver misión anterior",
1909
- previousShort: "< Ant.",
1910
- continueChallenge: "Continuar desafío"
1911
- };
1912
- const traducaoENUS = {
1913
- next: "View next mission >",
1914
- nextShort: "Next >",
1915
- previous: "< View previous mission",
1916
- previousShort: "< Previous",
1917
- continueChallenge: "Continue challenge"
1918
- };
1919
- const traducaoPT = {
1920
- next: "Ver missão seguinte >",
1921
- nextShort: "Próx. >",
1922
- previous: "< Ver missão anterior",
1923
- previousShort: "< Ant.",
1924
- continueChallenge: "Continuar desafio"
1925
- };
1926
- const mapTraducao = new Map();
1927
- mapTraducao.set("pt-BR", traducaoPTBR);
1928
- mapTraducao.set("es", traducaoES);
1929
- mapTraducao.set("en-US", traducaoENUS);
1930
- mapTraducao.set("pt-PT", traducaoPT);
1931
- const [stepLiberado, setstepLiberado] = React.useState(props.stepProblem);
1932
- const [stepActive, setStepActive] = React.useState(props.stepActive);
1933
- const [Idioma, setIdioma] = React.useState(props.idioma ? props.idioma : 'pt-BR');
1934
- const setStep = (step) => {
1935
- setStepActive(step);
1936
- props.onSelected(step);
1937
- };
1938
- React.useEffect(() => {
1939
- setIdioma(props.idioma ? props.idioma : 'pt-BR');
1940
- }, [props.idioma]);
1941
- React.useEffect(() => {
1942
- setstepLiberado(props.stepProblem);
1943
- }, [props.stepProblem]);
1944
- // Função para pegar o width da tela
1945
- const [size, setSize] = React.useState([0, 0]);
1946
- React.useLayoutEffect(() => {
1947
- function updateSize() {
1948
- setSize([window.innerWidth, window.innerHeight]);
1949
- }
1950
- window.addEventListener('resize', updateSize);
1951
- updateSize();
1952
- return () => window.removeEventListener('resize', updateSize);
1953
- }, []);
1954
- const BREAKWIDTH = 475;
1955
- const leftButtonStyle = {
1956
- position: 'absolute',
1957
- top: 20,
1958
- left: 0,
1959
- cursor: 'pointer'
1960
- };
1961
- const rightButtonStyle = {
1962
- ...leftButtonStyle,
1963
- right: 0,
1964
- left: 'auto'
1965
- };
1966
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: 'center', width: '100%', position: 'relative', padding: 20, backgroundColor: 'white', marginTop: '10px' }, children: [stepActive > 1 ?
1967
- size[0] >= BREAKWIDTH ?
1968
- jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive - 1); }, className: style$e.missaoTitle, style: leftButtonStyle, children: `${mapTraducao.get(Idioma).previous}` })
1969
- :
1970
- jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive - 1); }, className: style$e.missaoTitle, style: leftButtonStyle, children: `${mapTraducao.get(Idioma).previousShort}` })
1971
- : null, stepActive < stepLiberado ?
1972
- size[0] >= BREAKWIDTH ?
1973
- jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive + 1); }, className: style$e.missaoTitle, style: rightButtonStyle, children: `${mapTraducao.get(Idioma).next}` })
1974
- :
1975
- jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive + 1); }, className: style$e.missaoTitle, style: rightButtonStyle, children: `${mapTraducao.get(Idioma).nextShort}` })
1976
- : props.stepProblem < 5 &&
1977
- props.onClickContinue &&
1978
- jsxRuntime.jsx("span", { className: style$e.missaoTitle, style: { ...rightButtonStyle, marginTop: '-10px' }, children: jsxRuntime.jsx(Button$5, { handleClick: () => props.onClickContinue(), label: mapTraducao.get(Idioma).continueChallenge, variant: "primary", endIcon: jsxRuntime.jsx(FowardArrow, { fill: "#fff" }), style: { height: '40px' } }) }), jsxRuntime.jsxs("div", { style: { display: "inline-flex", marginTop: 40, justifyContent: 'center', width: '100%' }, children: [jsxRuntime.jsx(Steps, { step: 1, idioma: Idioma, status: stepLiberado >= 1 ? stepActive === 1 ? "A" : "I" : "B", onClick: () => {
1979
- setStep(1);
1980
- } }), jsxRuntime.jsx(Steps, { step: 2, idioma: Idioma, status: stepLiberado >= 2 ? stepActive === 2 ? "A" : "I" : "B", onClick: () => {
1981
- setStep(2);
1982
- } }), jsxRuntime.jsx(Steps, { step: 3, idioma: Idioma, status: stepLiberado >= 3 ? stepActive === 3 ? "A" : "I" : "B", onClick: () => {
1983
- setStep(3);
1984
- } }), jsxRuntime.jsx(Steps, { step: 4, idioma: Idioma, status: stepLiberado >= 4 ? stepActive === 4 ? "A" : "I" : "B", onClick: () => {
1985
- setStep(4);
1986
- } }), jsxRuntime.jsx(Steps, { step: 5, idioma: Idioma, status: stepLiberado >= 5 ? stepActive === 5 ? "A" : "I" : "B", onClick: () => {
1987
- setStep(5);
1988
- } })] })] }) }));
1895
+ @media (max-width: 400px) {
1896
+ font-size: 10px;
1897
+ }
1898
+ `;
1899
+
1900
+ // import { IAvatar } from './stepsProgress'
1901
+ function StepsProgress({ definedSteps, stepSelected, width = 600 }) {
1902
+ const stepColor = definedSteps.filter(s => s.step !== 1);
1903
+ return (jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [jsxRuntime.jsx(ProgressBar$2, { children: stepColor && Array.isArray(stepColor) ?
1904
+ stepColor.map((item, index) => jsxRuntime.jsx(ProgressItem$1, { active: item?.active }, index))
1905
+ : null }), jsxRuntime.jsx(ContainerSteps, { children: definedSteps && Array.isArray(definedSteps) ?
1906
+ definedSteps.map((item, index) => {
1907
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [(item?.step == stepSelected) &&
1908
+ jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'selected' }), (!(item?.step == stepSelected) && item?.active) &&
1909
+ jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'normal' }), (!item?.active) &&
1910
+ jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'disabled' })] }));
1911
+ })
1912
+ : null })] }));
1913
+ }
1914
+ function StepItem({ index, name, action, step, variant }) {
1915
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(material.Box, { children: [jsxRuntime.jsx(CicleStep, { variant: variant }), jsxRuntime.jsx(CicleStepChar, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: step }), jsxRuntime.jsx(CicleStepName, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: name })] }, index) }));
1989
1916
  }
1990
1917
 
1991
- var css_248z$e = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.avatarWithInfo-module_container__Y-yUf {\n /* width: 100%; */\n height: fit-content;\n padding: 4px 16px 4px 4px;\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n \n border: 1px solid #BDBDBD;\n border-radius: 25px;\n background-color: #FFF;\n font-size: 16px;\n \n flex-direction: row;\n flex-wrap: nowrap;\n font-family: 'Work Sans';\n flex-wrap: wrap;\n}";
1992
- var style$d = {"container":"avatarWithInfo-module_container__Y-yUf"};
1993
- styleInject(css_248z$e);
1918
+ var css_248z$f = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.avatarWithInfo-module_container__Y-yUf {\n /* width: 100%; */\n height: fit-content;\n padding: 4px 16px 4px 4px;\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n \n border: 1px solid #BDBDBD;\n border-radius: 25px;\n background-color: #FFF;\n font-size: 16px;\n \n flex-direction: row;\n flex-wrap: nowrap;\n font-family: 'Work Sans';\n flex-wrap: wrap;\n}";
1919
+ var style$e = {"container":"avatarWithInfo-module_container__Y-yUf"};
1920
+ styleInject(css_248z$f);
1994
1921
 
1995
1922
  const AvatarImg$1 = styled__default["default"].img `
1996
1923
  width: ${props => props.size || '120px'};
@@ -2029,7 +1956,7 @@ function Vector(props) {
2029
1956
  * @componente Planet: Componente responsável por gerenciar os controles dos steps das missões
2030
1957
  */
2031
1958
  function AvatarWithInfo(props) {
2032
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$d.container, style: { ...props.style }, children: [jsxRuntime.jsx(Avatar, { size: '40px', src: props.fotoAvatar }), jsxRuntime.jsx("span", { style: { fontWeight: 600, marginLeft: 8, marginRight: 4 }, children: props.nomeCompleto }), " ", props.cargo ? jsxRuntime.jsx(Vector, {}) : '', " ", jsxRuntime.jsx("span", { style: { fontWeight: 400, marginLeft: 4, marginRight: 8, textAlign: 'center' }, children: props.cargo })] }) }));
1959
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$e.container, style: { ...props.style }, children: [jsxRuntime.jsx(Avatar, { size: '40px', src: props.fotoAvatar }), jsxRuntime.jsx("span", { style: { fontWeight: 600, marginLeft: 8, marginRight: 4 }, children: props.nomeCompleto }), " ", props.cargo ? jsxRuntime.jsx(Vector, {}) : '', " ", jsxRuntime.jsx("span", { style: { fontWeight: 400, marginLeft: 4, marginRight: 8, textAlign: 'center' }, children: props.cargo })] }) }));
2033
1960
  }
2034
1961
 
2035
1962
  const LinkButton$1 = styled__default["default"].a `
@@ -2388,9 +2315,9 @@ function Button$5({ variant, label, sizeIcon, disabled, startIcon, endIcon, hand
2388
2315
  jsxRuntime.jsx(Button$6, { ref: ref, style: { ...style }, length: length, active: active, value: value, variant: variant, disabled: disabled, onClick: handleClick, id: id, children: label }) }));
2389
2316
  }
2390
2317
 
2391
- var css_248z$d = ".BannerProblem-module_container__iitVU {\n padding: 50px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: relative;\n flex-direction: row;\n flex-wrap: wrap;\n background-color: white;\n font-family: 'Work Sans';\n font-style: normal;\n\n}\n\n.BannerProblem-module_titleProblem__BeJIN{\n font-weight: 700;\n font-size: 18px;\n word-wrap: break-word;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n}\n\n.BannerProblem-module_created__OrSsa{\n font-size: 12px;\n\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 14px;\n /* identical to box height, or 117% */\n\n display: flex;\n align-items: center;\n letter-spacing: -0.02em;\n\n color: #757575;\n}\n\n.BannerProblem-module_description__olZ05{\n font-style: normal;\n font-weight: 600;\n font-size: 32px;\n text-align: left;\n display: flex;\n margin-top: 8px;\n width: 100%;\n color: #FF4D0D;\n margin-bottom: 0px;\n}\n\n@media(max-width: 880px){\n .BannerProblem-module_description__olZ05{\n word-wrap: break-word;\n }\n}\n\n.BannerProblem-module_missaoTitle__300kZ{\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n display: flex;\n align-items: center;\n width: 100%;\n \n color: #0645AD;\n}\n\nh2{\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 16px;\n display: flex;\n align-items: center;\n width: 100%;\n margin-top: 16;\n margin-bottom: 0;\n}\n\nh3{\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 21px;\n margin: 0;\n word-wrap: break-word;\n}\n\n.BannerProblem-module_contentInput__YXpxk {\n background-color: #F2F2F2; \n border-width: 1px; \n border-radius: 4px;\n padding: 24px 16px 24px 16px;\n border: 1px solid #BDBDBD;\n}\n\n.BannerProblem-module_contentInput__YXpxk input {\n width: 100% !important;\n margin: 4px;\n padding: 16px;\n border-radius: 8px;\n border: 1px solid #BDBDBD;\n background-color: white;\n}\n\n.BannerProblem-module_goal_invite__B0T5N svg {\n max-width: none;\n max-height: none !important;\n}\n";
2392
- var style$c = {"container":"BannerProblem-module_container__iitVU","titleProblem":"BannerProblem-module_titleProblem__BeJIN","created":"BannerProblem-module_created__OrSsa","description":"BannerProblem-module_description__olZ05","missaoTitle":"BannerProblem-module_missaoTitle__300kZ","contentInput":"BannerProblem-module_contentInput__YXpxk","goal_invite":"BannerProblem-module_goal_invite__B0T5N"};
2393
- styleInject(css_248z$d);
2318
+ var css_248z$e = ".BannerProblem-module_container__iitVU {\n padding: 50px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: relative;\n flex-direction: row;\n flex-wrap: wrap;\n background-color: white;\n font-family: 'Work Sans';\n font-style: normal;\n\n}\n\n.BannerProblem-module_titleProblem__BeJIN{\n font-weight: 700;\n font-size: 18px;\n word-wrap: break-word;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n}\n\n.BannerProblem-module_created__OrSsa{\n font-size: 12px;\n\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 14px;\n /* identical to box height, or 117% */\n\n display: flex;\n align-items: center;\n letter-spacing: -0.02em;\n\n color: #757575;\n}\n\n.BannerProblem-module_description__olZ05{\n font-style: normal;\n font-weight: 600;\n font-size: 32px;\n text-align: left;\n display: flex;\n margin-top: 8px;\n width: 100%;\n color: #FF4D0D;\n margin-bottom: 0px;\n}\n\n@media(max-width: 880px){\n .BannerProblem-module_description__olZ05{\n word-wrap: break-word;\n }\n}\n\n.BannerProblem-module_missaoTitle__300kZ{\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n display: flex;\n align-items: center;\n width: 100%;\n \n color: #0645AD;\n}\n\nh2{\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 16px;\n display: flex;\n align-items: center;\n width: 100%;\n margin-top: 16;\n margin-bottom: 0;\n}\n\nh3{\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 21px;\n margin: 0;\n word-wrap: break-word;\n}\n\n.BannerProblem-module_contentInput__YXpxk {\n background-color: #F2F2F2; \n border-width: 1px; \n border-radius: 4px;\n padding: 24px 16px 24px 16px;\n border: 1px solid #BDBDBD;\n}\n\n.BannerProblem-module_contentInput__YXpxk input {\n width: 100% !important;\n margin: 4px;\n padding: 16px;\n border-radius: 8px;\n border: 1px solid #BDBDBD;\n background-color: white;\n}\n\n.BannerProblem-module_goal_invite__B0T5N svg {\n max-width: none;\n max-height: none !important;\n}\n";
2319
+ var style$d = {"container":"BannerProblem-module_container__iitVU","titleProblem":"BannerProblem-module_titleProblem__BeJIN","created":"BannerProblem-module_created__OrSsa","description":"BannerProblem-module_description__olZ05","missaoTitle":"BannerProblem-module_missaoTitle__300kZ","contentInput":"BannerProblem-module_contentInput__YXpxk","goal_invite":"BannerProblem-module_goal_invite__B0T5N"};
2320
+ styleInject(css_248z$e);
2394
2321
 
2395
2322
  const SpanHeaderTag = styled__default["default"].span `
2396
2323
  display: flex;
@@ -2427,7 +2354,7 @@ function BannerProblem(props) {
2427
2354
  props.tags && props.tags.length >= 2 ? props.tags[1] : '',
2428
2355
  props.tags && props.tags.length >= 3 ? props.tags[2] : ''
2429
2356
  ]);
2430
- const hasContinueProps = props?.onClickContinue?.name !== 'actionHandler';
2357
+ props?.onClickContinue?.name !== 'actionHandler';
2431
2358
  const customStyles = {
2432
2359
  option: (styles, { isFocused, isSelected, isDisabled }) => ({
2433
2360
  ...styles,
@@ -2496,9 +2423,17 @@ function BannerProblem(props) {
2496
2423
  title = props.isVerified ? 'Desafio verificado' : title;
2497
2424
  return title;
2498
2425
  };
2426
+ const [selectedStep, setSelectedStep] = React.useState(props?.stepActive);
2427
+ const [definedSteps, setDefinedSteps] = React.useState(getStepsChallenge$1(Idioma, props?.stepProblem, setSelectedStep, props?.onSelectedStep) || []);
2428
+ React.useEffect(() => {
2429
+ setDefinedSteps(getStepsChallenge$1(Idioma, props?.stepProblem, setSelectedStep, props?.onSelectedStep));
2430
+ }, [Idioma, props.stepProblem, props.onSelectedStep]);
2431
+ React.useEffect(() => {
2432
+ setSelectedStep(props.stepActive);
2433
+ }, [props.stepActive]);
2499
2434
  const MOBILEWIDTH = 650;
2500
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$c.container, style: { ...props.style }, children: [props.topHeaderTagText &&
2501
- jsxRuntime.jsx(SpanHeaderTag, { background: props.topHeaderTagBgColor, color: props.topHeaderTagColor, children: props.topHeaderTagText }), jsxRuntime.jsxs("div", { style: { width: '100%', display: 'flex', justifyContent: 'space-between', flexDirection: 'row', alignItems: 'center' }, children: [jsxRuntime.jsxs("span", { className: style$c.titleProblem, children: [showChallengeTitle(), props.isVerified &&
2435
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$d.container, style: { ...props.style }, children: [props.topHeaderTagText &&
2436
+ jsxRuntime.jsx(SpanHeaderTag, { background: props.topHeaderTagBgColor, color: props.topHeaderTagColor, children: props.topHeaderTagText }), jsxRuntime.jsxs("div", { style: { width: '100%', display: 'flex', justifyContent: 'space-between', flexDirection: 'row', alignItems: 'center' }, children: [jsxRuntime.jsxs("span", { className: style$d.titleProblem, children: [showChallengeTitle(), props.isVerified &&
2502
2437
  jsxRuntime.jsx(Tooltip$2, { direction: "bottom", content: props.verifiedTooltipContent, trigger: 'hover', width: '361px', height: '54px', style: { top: '10px', textAlign: 'center' }, children: jsxRuntime.jsx(SawBadgeIcon, {}) })] }), props.isEditable &&
2503
2438
  jsxRuntime.jsx(Button$5, { label: Edit ? (props.textButtonLinkEditSave ? props.textButtonLinkEditSave : "Salvar Alterações") : (props.textButtonLinkEdit ? props.textButtonLinkEdit : "Editar"), variant: 'link', handleClick: () => handleEdit(), startIcon: jsxRuntime.jsx(EditIcon, {}) })] }), Edit ?
2504
2439
  jsxRuntime.jsx("div", { style: {
@@ -2522,7 +2457,7 @@ function BannerProblem(props) {
2522
2457
  wordBreak: 'break-word',
2523
2458
  }, children: TituloProblema }) })
2524
2459
  :
2525
- jsxRuntime.jsx("h1", { className: style$c.description, children: TituloProblema }), jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'space-between', position: 'relative', width: '100%', borderBottom: '1px solid #CCCCCC' }, children: jsxRuntime.jsxs("div", { style: { display: 'inline-flex', width: '100%' }, children: [jsxRuntime.jsxs("div", { style: { width: '100%', maxWidth: 600 }, children: [jsxRuntime.jsxs("div", { style: { display: 'flex', flexDirection: 'column', width: 'fit-content', paddingTop: '16px' }, children: [jsxRuntime.jsx("span", { className: style$c.created, children: props.dataCriacao }), jsxRuntime.jsx(AvatarWithInfo, { cargo: props.cargo, nomeCompleto: props.nome, fotoAvatar: props.avatar, style: { marginBottom: 8, marginTop: 24 } })] }), jsxRuntime.jsx(TextIcon, { description: props.area, svg: jsxRuntime.jsx(Brain, {}) }), props.company && jsxRuntime.jsx(TextIcon, { style: { width: '80%' }, description: props.company, svg: jsxRuntime.jsx(CompanyIcon, {}) }), jsxRuntime.jsx(TextIcon, { description: adapterEmail(props.email, size[0]), svg: jsxRuntime.jsx(Mail, {}) }), Edit && props.isVisibleEditTrail ?
2460
+ jsxRuntime.jsx("h1", { className: style$d.description, children: TituloProblema }), jsxRuntime.jsx("div", { style: { display: 'flex', justifyContent: 'space-between', position: 'relative', width: '100%', borderBottom: '1px solid #CCCCCC' }, children: jsxRuntime.jsxs("div", { style: { display: 'inline-flex', width: '100%' }, children: [jsxRuntime.jsxs("div", { style: { width: '100%', maxWidth: 600 }, children: [jsxRuntime.jsxs("div", { style: { display: 'flex', flexDirection: 'column', width: 'fit-content', paddingTop: '16px' }, children: [jsxRuntime.jsx("span", { className: style$d.created, children: props.dataCriacao }), jsxRuntime.jsx(AvatarWithInfo, { cargo: props.cargo, nomeCompleto: props.nome, fotoAvatar: props.avatar, style: { marginBottom: 8, marginTop: 24 } })] }), jsxRuntime.jsx(TextIcon, { description: props.area, svg: jsxRuntime.jsx(Brain, {}) }), props.company && jsxRuntime.jsx(TextIcon, { style: { width: '80%' }, description: props.company, svg: jsxRuntime.jsx(CompanyIcon, {}) }), jsxRuntime.jsx(TextIcon, { description: adapterEmail(props.email, size[0]), svg: jsxRuntime.jsx(Mail, {}) }), Edit && props.isVisibleEditTrail ?
2526
2461
  jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { style: { marginTop: 12, backgroundColor: '#F2F2F2', borderWidth: 1, borderRadius: 4, padding: '24px 16px 24px 16px', border: '1px solid #BDBDBD' }, children: [jsxRuntime.jsx("h3", { style: { marginBottom: 12, textAlign: 'left', width: '100%', fontSize: 16 }, children: props.textTrailLabel ? props.textTrailLabel : 'Deseja vincular este novo problema a uma Trilha de Aprendizagem?' }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: props.trilhaData ? props.trilhaData : [], value: props.trilhaData.filter(function (temp) { return temp.value === TrilhaId; }), placeholder: props.placeholderSelectTrail ? props.placeholderSelectTrail : 'Selecione uma trilha', onChange: e => {
2527
2462
  setTrilhaId(e.value);
2528
2463
  setTrilhaDescricaoSelecionada(e.label);
@@ -2532,7 +2467,7 @@ function BannerProblem(props) {
2532
2467
  jsxRuntime.jsx(TextIcon, { description: props.textIconDescription ? props.textIconDescription : 'Ainda não está vinculado a uma trilha', svg: jsxRuntime.jsx(WithoutTrail, {}) })
2533
2468
  :
2534
2469
  jsxRuntime.jsx(TextIcon, { description: TrilhaBanner, svg: jsxRuntime.jsx(WithTrail, {}) }) }), jsxRuntime.jsx("div", { style: { marginTop: 16, marginBottom: 26, maxWidth: !Edit ? '400px' : '100%' }, children: Edit && props.isVisibleEditTags ?
2535
- jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$c.contentInput, children: [jsxRuntime.jsx("h3", { style: { marginBottom: 12, textAlign: 'left', width: '100%', fontSize: 16 }, children: props.textContentInput ? props.textContentInput : 'Busque e selecione até três palavras-chave:' }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) { return temp.value === Tag1; }), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: e => { setTag1(e.value); } }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) { return temp.value === Tag2; }), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: e => { setTag2(e.value); } }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) { return temp.value === Tag3; }), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: e => { setTag3(e.value); } })] }) })
2470
+ jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$d.contentInput, children: [jsxRuntime.jsx("h3", { style: { marginBottom: 12, textAlign: 'left', width: '100%', fontSize: 16 }, children: props.textContentInput ? props.textContentInput : 'Busque e selecione até três palavras-chave:' }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) { return temp.value === Tag1; }), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: e => { setTag1(e.value); } }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) { return temp.value === Tag2; }), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: e => { setTag2(e.value); } }), jsxRuntime.jsx(Select__default$1["default"], { id: "select", styles: customStyles, options: tagListShow, value: tagListShow.filter(function (temp) { return temp.value === Tag3; }), placeholder: props.placeholderSelectTag ? props.placeholderSelectTag : 'Selecione uma Tag', onChange: e => { setTag3(e.value); } })] }) })
2536
2471
  :
2537
2472
  jsxRuntime.jsx(jsxRuntime.Fragment, { children: Tags?.map((item, key) => (item &&
2538
2473
  jsxRuntime.jsx(Tag, { title: item, style: { color: '#000 !important', marginRight: 8, marginTop: 8 }, color: "#E4E1FF", selected: false, inverted: false }, key))) }) }), size[0] <= MOBILEWIDTH || Edit ?
@@ -2543,9 +2478,10 @@ function BannerProblem(props) {
2543
2478
  jsxRuntime.jsx(Button$5, { variant: 'link', label: props.textGoalViewsBtn, startIcon: jsxRuntime.jsx("div", { style: { width: '20px', marginBottom: '-1px', marginRight: '8px' }, children: jsxRuntime.jsx(GoalViewsIcon, { width: '20px' }) }), handleClick: props.onClickViewsBtn, style: { paddingTop: '0px', paddingBottom: '16px' } })] })] }), size[0] > MOBILEWIDTH && Edit === false ?
2544
2479
  jsxRuntime.jsxs("div", { style: { position: 'absolute', right: 0, flexFlow: 'column', justifyContent: 'flex-end', width: '20%' }, id: 'avaliations-banner-problem', children: [jsxRuntime.jsx(Rating$1, { titulo: props.ratingTitleImpact ? props.ratingTitleImpact : 'Impacto', descricaoAvaliacao: props.descriptionImpacto, qtdeAvaliacao: props.qtdeAvaliacao, nota: props.notaAvaliacao, tipoVisualizacao: 1, nomeAvaliacao: props.ratingLikesEvaluation ? props.ratingLikesEvaluation : 'avaliação' }), jsxRuntime.jsx(Rating$1, { titulo: props.ratingTitleRelevance ? props.ratingTitleRelevance : 'Relevância', descricaoAvaliacao: props.descriptionRelevancia, qtdeAvaliacao: props.qtdeRelevancia, nota: props.notaRelevancia, tipoVisualizacao: 1, nomeAvaliacao: props.ratingLikesEvaluation ? props.ratingLikesEvaluation : 'avaliação' }), props.curtidas &&
2545
2480
  jsxRuntime.jsx(RatingCurtidas, { titulo: props.ratingTitleLikes ? props.ratingTitleLikes : 'Curtidas', qtdeCurtidas: props.curtidas, tipoBotao: 2, descricaoCurtida: props.ratingLikesDescription ? props.ratingLikesDescription : 'pessoas' })] })
2546
- : null] }) }), jsxRuntime.jsx(MissionSteps, { stepProblem: props.stepProblem, stepActive: props.stepActive, onClickContinue: hasContinueProps ? props.onClickContinue : null, onSelected: (step) => {
2547
- props.onSelectedStep(step);
2548
- }, idioma: Idioma }), jsxRuntime.jsx("div", { style: { marginTop: 18, width: '100%', borderRadius: 8, border: '1px solid #BDBDBD', padding: 16, paddingLeft: 32, paddingRight: 32 }, children: props.children })] }) }));
2481
+ : null] }) }), jsxRuntime.jsxs("div", { style: { width: '100%', display: 'flex', flexDirection: 'column' }, children: [jsxRuntime.jsx("div", { style: { marginTop: '20px' }, children: jsxRuntime.jsx(ButtonsProcessSteps, { idioma: Idioma, definedSteps: props?.stepProblem, selectedStep: selectedStep, setSelectedStep: (e) => {
2482
+ setSelectedStep(e);
2483
+ props?.onSelectedStep(e);
2484
+ }, onClickContinue: () => props.onClickContinue() }) }), jsxRuntime.jsx("div", { style: { width: '100%', paddingLeft: '5%', paddingRight: '5%', paddingTop: '30px' }, children: jsxRuntime.jsx(StepsProgress, { definedSteps: definedSteps, stepSelected: selectedStep }) })] }), jsxRuntime.jsx("div", { style: { marginTop: 18, width: '100%', borderRadius: 8, border: '1px solid #BDBDBD', padding: 16, paddingLeft: 32, paddingRight: 32 }, children: props.children })] }) }));
2549
2485
  function adapterEmail(email, widthScreen) {
2550
2486
  let newEmail = email;
2551
2487
  if (widthScreen < 450) {
@@ -2567,11 +2503,99 @@ ${email.slice(indexBreak)}`;
2567
2503
  });
2568
2504
  return optFiltered;
2569
2505
  }
2506
+ }
2507
+ function getStepsChallenge$1(language, stepProblem, setSelectedStep, onSelectedStep) {
2508
+ let translate = {
2509
+ "pt-BR": ["Definição", "Hipóteses", "Testes", "Resultados", "Próximos Passos"],
2510
+ "es": ["Definición", "Hipótesis", "Pruebas", "Resultados", "Próximos pasos"],
2511
+ "en-US": ["Definition", "Hypotheses", "Tests", "Results", "Next Steps"],
2512
+ "pt-PT": ["Definição", "Hipóteses", "Testes", "Resultados", "Próximos Passos"],
2513
+ };
2514
+ let steps = [
2515
+ { step: 1, active: false, name: translate[language][0], action: () => {
2516
+ onSelectedStep(1);
2517
+ setSelectedStep(1);
2518
+ } },
2519
+ { step: 2, active: false, name: translate[language][1], action: () => {
2520
+ onSelectedStep(2);
2521
+ setSelectedStep(2);
2522
+ } },
2523
+ { step: 3, active: false, name: translate[language][2], action: () => {
2524
+ onSelectedStep(3);
2525
+ setSelectedStep(3);
2526
+ } },
2527
+ { step: 4, active: false, name: translate[language][3], action: () => {
2528
+ onSelectedStep(4);
2529
+ setSelectedStep(4);
2530
+ } },
2531
+ { step: 5, active: false, name: translate[language][4], action: () => {
2532
+ onSelectedStep(5);
2533
+ setSelectedStep(5);
2534
+ } },
2535
+ ];
2536
+ let maxStep = Math.min(stepProblem, steps.length);
2537
+ for (let i = 0; i < maxStep; i++) {
2538
+ steps[i].active = true;
2539
+ }
2540
+ return steps;
2541
+ }
2542
+ function ButtonsProcessSteps({ selectedStep, definedSteps, setSelectedStep, idioma, onClickContinue }) {
2543
+ const [anhorsBtn, setAnchorsBtn] = React.useState(getTranslateBtnNextPrevSteps()['pt-BR']);
2544
+ React.useEffect(() => {
2545
+ try {
2546
+ setAnchorsBtn(getTranslateBtnNextPrevSteps()[idioma]);
2547
+ }
2548
+ catch (e) {
2549
+ setAnchorsBtn(getTranslateBtnNextPrevSteps()['pt-BR']);
2550
+ }
2551
+ }, [idioma]);
2552
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [selectedStep == 1 && definedSteps > 1 &&
2553
+ jsxRuntime.jsx("div", { style: { width: '100%', display: 'flex', justifyContent: 'flex-end' }, children: jsxRuntime.jsx(Button$5, { handleClick: () => setSelectedStep(2), label: anhorsBtn.next, variant: "link", style: { height: '40px' } }) }), selectedStep > 1 && selectedStep < definedSteps &&
2554
+ jsxRuntime.jsxs("div", { style: { width: '100%', display: 'flex', justifyContent: 'space-between' }, children: [jsxRuntime.jsx(Button$5, { handleClick: () => setSelectedStep(selectedStep - 1), label: anhorsBtn.previous, variant: "link", style: { height: '40px' } }), jsxRuntime.jsx(Button$5, { handleClick: () => setSelectedStep(selectedStep + 1), label: anhorsBtn.next, variant: "link", style: { height: '40px' } })] }), selectedStep == definedSteps && definedSteps != 5 && definedSteps != 1 &&
2555
+ jsxRuntime.jsxs("div", { style: { width: '100%', display: 'flex', justifyContent: 'space-between' }, children: [jsxRuntime.jsx(Button$5, { handleClick: () => setSelectedStep(selectedStep - 1), label: anhorsBtn.previous, variant: "link", style: { height: '40px' } }), jsxRuntime.jsx(Button$5, { handleClick: () => onClickContinue(), label: anhorsBtn.continueChallenge, variant: "primary", style: { height: '40px' } })] }), selectedStep == definedSteps && definedSteps == 5 &&
2556
+ jsxRuntime.jsx("div", { style: { width: '100%', display: 'flex', justifyContent: 'flex-start' }, children: jsxRuntime.jsx(Button$5, { handleClick: () => setSelectedStep(selectedStep - 1), label: anhorsBtn.previous, variant: "link", style: { height: '40px' } }) }), selectedStep == definedSteps && definedSteps == 1 &&
2557
+ jsxRuntime.jsx("div", { style: { width: '100%', display: 'flex', justifyContent: 'flex-end' }, children: jsxRuntime.jsx(Button$5, { handleClick: () => onClickContinue(), label: anhorsBtn.continueChallenge, variant: "primary", style: { height: '40px' } }) })] });
2558
+ }
2559
+ function getTranslateBtnNextPrevSteps() {
2560
+ const traducaoPTBR = {
2561
+ next: "Ver fase seguinte >",
2562
+ nextShort: "Próx. >",
2563
+ previous: "< Ver fase anterior",
2564
+ previousShort: "< Ant.",
2565
+ continueChallenge: "Continuar desafio"
2566
+ };
2567
+ const traducaoES = {
2568
+ next: "Ver fase siguiente >",
2569
+ nextShort: "Próx. >",
2570
+ previous: "< Ver fase anterior",
2571
+ previousShort: "< Ant.",
2572
+ continueChallenge: "Continuar desafío"
2573
+ };
2574
+ const traducaoENUS = {
2575
+ next: "View next phase >",
2576
+ nextShort: "Next >",
2577
+ previous: "< View previous phase",
2578
+ previousShort: "< Previous",
2579
+ continueChallenge: "Continue challenge"
2580
+ };
2581
+ const traducaoPT = {
2582
+ next: "Ver fase seguinte >",
2583
+ nextShort: "Próx. >",
2584
+ previous: "< Ver fase anterior",
2585
+ previousShort: "< Ant.",
2586
+ continueChallenge: "Continuar desafio"
2587
+ };
2588
+ return {
2589
+ "pt-BR": traducaoPTBR,
2590
+ "es": traducaoES,
2591
+ "en-US": traducaoENUS,
2592
+ "pt-PT": traducaoPT
2593
+ };
2570
2594
  }
2571
2595
 
2572
- var css_248z$c = ".MessageBox-module_container__6oBFw {\n min-width: 200px;\n padding: 8px;\n min-height: 30px;\n margin-top: 8px;\n font-size: 14px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n flex-direction: row;\n flex-wrap: wrap;\n \n}\n\n.MessageBox-module_square__bUGB6{\n height: 20px;\n width: 20px;\n display: inline-flex; \n justify-content: center; \n align-items: center;\n margin-right: 8px;\n}\n\n.MessageBox-module_success__OT-qh{\n \n border-Width: 2;\n border: 1px solid;\n border-color: #2CA92A;\n background-color: #D1F6D1;\n color: #222;\n}\n\n.MessageBox-module_success__OT-qh:hover{\n background-color: #2CA92A !important;\n color: white;\n}\n\n.MessageBox-module_successNoHover__0-hv8{\n \n border-Width: 2;\n border: 1px solid;\n border-color: #2CA92A;\n background-color: #D1F6D1;\n color: #222;\n}\n\n.MessageBox-module_warning__WFHrV{\n border-Width: 2;\n border: 1px solid;\n border-color: #FFC200;\n background-color: #FEF0D4;\n color: #222;\n}\n\n.MessageBox-module_warning__WFHrV:hover{\n background-color: #FFC200 !important;\n color: white;\n}\n\n.MessageBox-module_warningNoHover__9REga{\n border-Width: 2;\n border: 1px solid;\n border-color: #FFC200;\n background-color: #FEF0D4;\n color: #222;\n}\n\n.MessageBox-module_error__PzfdG{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_error__PzfdG:hover{\n background-color: #EA0000 !important;\n color: white;\n}\n\n.MessageBox-module_errorNoHover__wBfkm{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_notificacao__TIUt0{\n border-Width: 2;\n border: 1px solid;\n border-color: #757575;\n background-color: #F2F2F2;\n color: #0645AD;\n font-weight: 700;\n}\n\n.MessageBox-module_notificacao__TIUt0:hover{\n background-color: #F2F2F2 !important;\n \n}\n\n.MessageBox-module_notificacao__TIUt0 span {\n color: #757575 !important;\n font-weight: 400;\n}\n\n.MessageBox-module_notificacaoNoHover__NHKEm{\n border-Width: 2;\n border: 1px solid;\n border-color: #757575;\n background-color: #F2F2F2;\n color: #0645AD;\n font-weight: 700;\n}\n\n.MessageBox-module_notificacaoNoHover__NHKEm span {\n color: #757575 !important;\n font-weight: 400;\n}\n\n.MessageBox-module_notificacaoErro__-Daph{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000 ;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_notificacaoErro__-Daph:hover{\n background-color: #EA0000 !important;\n color: white;\n}\n\n.MessageBox-module_notificacaoErroNoHover__kW518{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000 ;\n background-color: #FFE5E5;\n color: #222;\n}";
2573
- var style$b = {"container":"MessageBox-module_container__6oBFw","square":"MessageBox-module_square__bUGB6","success":"MessageBox-module_success__OT-qh","successNoHover":"MessageBox-module_successNoHover__0-hv8","warning":"MessageBox-module_warning__WFHrV","warningNoHover":"MessageBox-module_warningNoHover__9REga","error":"MessageBox-module_error__PzfdG","errorNoHover":"MessageBox-module_errorNoHover__wBfkm","notificacao":"MessageBox-module_notificacao__TIUt0","notificacaoNoHover":"MessageBox-module_notificacaoNoHover__NHKEm","notificacaoErro":"MessageBox-module_notificacaoErro__-Daph","notificacaoErroNoHover":"MessageBox-module_notificacaoErroNoHover__kW518"};
2574
- styleInject(css_248z$c);
2596
+ var css_248z$d = ".MessageBox-module_container__6oBFw {\n min-width: 200px;\n padding: 8px;\n min-height: 30px;\n margin-top: 8px;\n font-size: 14px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n position: relative;\n flex-direction: row;\n flex-wrap: wrap;\n \n}\n\n.MessageBox-module_square__bUGB6{\n height: 20px;\n width: 20px;\n display: inline-flex; \n justify-content: center; \n align-items: center;\n margin-right: 8px;\n}\n\n.MessageBox-module_success__OT-qh{\n \n border-Width: 2;\n border: 1px solid;\n border-color: #2CA92A;\n background-color: #D1F6D1;\n color: #222;\n}\n\n.MessageBox-module_success__OT-qh:hover{\n background-color: #2CA92A !important;\n color: white;\n}\n\n.MessageBox-module_successNoHover__0-hv8{\n \n border-Width: 2;\n border: 1px solid;\n border-color: #2CA92A;\n background-color: #D1F6D1;\n color: #222;\n}\n\n.MessageBox-module_warning__WFHrV{\n border-Width: 2;\n border: 1px solid;\n border-color: #FFC200;\n background-color: #FEF0D4;\n color: #222;\n}\n\n.MessageBox-module_warning__WFHrV:hover{\n background-color: #FFC200 !important;\n color: white;\n}\n\n.MessageBox-module_warningNoHover__9REga{\n border-Width: 2;\n border: 1px solid;\n border-color: #FFC200;\n background-color: #FEF0D4;\n color: #222;\n}\n\n.MessageBox-module_error__PzfdG{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_error__PzfdG:hover{\n background-color: #EA0000 !important;\n color: white;\n}\n\n.MessageBox-module_errorNoHover__wBfkm{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_notificacao__TIUt0{\n border-Width: 2;\n border: 1px solid;\n border-color: #757575;\n background-color: #F2F2F2;\n color: #0645AD;\n font-weight: 700;\n}\n\n.MessageBox-module_notificacao__TIUt0:hover{\n background-color: #F2F2F2 !important;\n \n}\n\n.MessageBox-module_notificacao__TIUt0 span {\n color: #757575 !important;\n font-weight: 400;\n}\n\n.MessageBox-module_notificacaoNoHover__NHKEm{\n border-Width: 2;\n border: 1px solid;\n border-color: #757575;\n background-color: #F2F2F2;\n color: #0645AD;\n font-weight: 700;\n}\n\n.MessageBox-module_notificacaoNoHover__NHKEm span {\n color: #757575 !important;\n font-weight: 400;\n}\n\n.MessageBox-module_notificacaoErro__-Daph{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000 ;\n background-color: #FFE5E5;\n color: #222;\n}\n\n.MessageBox-module_notificacaoErro__-Daph:hover{\n background-color: #EA0000 !important;\n color: white;\n}\n\n.MessageBox-module_notificacaoErroNoHover__kW518{\n border-Width: 2;\n border: 1px solid;\n border-color: #EA0000 ;\n background-color: #FFE5E5;\n color: #222;\n}";
2597
+ var style$c = {"container":"MessageBox-module_container__6oBFw","square":"MessageBox-module_square__bUGB6","success":"MessageBox-module_success__OT-qh","successNoHover":"MessageBox-module_successNoHover__0-hv8","warning":"MessageBox-module_warning__WFHrV","warningNoHover":"MessageBox-module_warningNoHover__9REga","error":"MessageBox-module_error__PzfdG","errorNoHover":"MessageBox-module_errorNoHover__wBfkm","notificacao":"MessageBox-module_notificacao__TIUt0","notificacaoNoHover":"MessageBox-module_notificacaoNoHover__NHKEm","notificacaoErro":"MessageBox-module_notificacaoErro__-Daph","notificacaoErroNoHover":"MessageBox-module_notificacaoErroNoHover__kW518"};
2598
+ styleInject(css_248z$d);
2575
2599
 
2576
2600
  ///-----------------------------------------
2577
2601
  /// Componente
@@ -2625,22 +2649,22 @@ function MessageBox(props) {
2625
2649
  jsxRuntime.jsx(SaveIcon, { fill: 'red' })
2626
2650
  ];
2627
2651
  return (jsxRuntime.jsxs("div", { style: { position: 'relative' }, children: [jsxRuntime.jsxs("div", { className: props.hasHover ?
2628
- `${props.tipoVisualizacao === 1 ? style$b.success
2629
- : props.tipoVisualizacao === 2 ? style$b.warning
2630
- : props.tipoVisualizacao === 3 ? style$b.error
2631
- : props.tipoVisualizacao === 4 ? style$b.notificacao
2632
- : props.tipoVisualizacao === 5 ? style$b.notificacaoErro
2633
- : ''} ${style$b.container}`
2652
+ `${props.tipoVisualizacao === 1 ? style$c.success
2653
+ : props.tipoVisualizacao === 2 ? style$c.warning
2654
+ : props.tipoVisualizacao === 3 ? style$c.error
2655
+ : props.tipoVisualizacao === 4 ? style$c.notificacao
2656
+ : props.tipoVisualizacao === 5 ? style$c.notificacaoErro
2657
+ : ''} ${style$c.container}`
2634
2658
  :
2635
- `${props.tipoVisualizacao === 1 ? style$b.successNoHover
2636
- : props.tipoVisualizacao === 2 ? style$b.warningNoHover
2637
- : props.tipoVisualizacao === 3 ? style$b.errorNoHover
2638
- : props.tipoVisualizacao === 4 ? style$b.notificacaoNoHover
2639
- : props.tipoVisualizacao === 5 ? style$b.notificacaoErroNoHover
2640
- : ''} ${style$b.container}`, style: {
2659
+ `${props.tipoVisualizacao === 1 ? style$c.successNoHover
2660
+ : props.tipoVisualizacao === 2 ? style$c.warningNoHover
2661
+ : props.tipoVisualizacao === 3 ? style$c.errorNoHover
2662
+ : props.tipoVisualizacao === 4 ? style$c.notificacaoNoHover
2663
+ : props.tipoVisualizacao === 5 ? style$c.notificacaoErroNoHover
2664
+ : ''} ${style$c.container}`, style: {
2641
2665
  cursor: props.onClick ? 'pointer' : 'default',
2642
2666
  ...props.style
2643
- }, onClick: props.onClick, children: [jsxRuntime.jsx("div", { className: style$b.square, style: { backgroundColor: MapBorderColor[props.tipoVisualizacao - 1] }, children: MapIconList[props.tipoVisualizacao - 1] }), jsxRuntime.jsxs("div", { style: { display: 'inline-flex', width: 'calc(100% - 30px)' }, children: [props.texto, jsxRuntime.jsxs("span", { children: [" \u00A0", props.descricao ? props.descricao : ''] })] })] }), props.hasClickExit &&
2667
+ }, onClick: props.onClick, children: [jsxRuntime.jsx("div", { className: style$c.square, style: { backgroundColor: MapBorderColor[props.tipoVisualizacao - 1] }, children: MapIconList[props.tipoVisualizacao - 1] }), jsxRuntime.jsxs("div", { style: { display: 'inline-flex', width: 'calc(100% - 30px)' }, children: [props.texto, jsxRuntime.jsxs("span", { children: [" \u00A0", props.descricao ? props.descricao : ''] })] })] }), props.hasClickExit &&
2644
2668
  jsxRuntime.jsxs("div", { style: {
2645
2669
  display: 'inline-flex',
2646
2670
  position: 'absolute',
@@ -4891,19 +4915,19 @@ function FilterAccordionCheckbox({ generalTitle, object, onSelected }) {
4891
4915
  }
4892
4916
  }
4893
4917
 
4894
- var css_248z$b = ".statusProblema-module_modalBox__SJtEw{\n background-color: #FFF;\n width: 800px;\n min-height: 400px;\n max-height: 80%;\n padding-top: 20px;\n padding-bottom: 20px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n border-radius: 10px;\n\n font-family: 'Work Sans';\n\n}\n\n.statusProblema-module_fechar__6ESi1{\n font-size: 12px;\n padding: 8px;\n display: flex;\n justify-content: right;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n margin-top: 0px;\n cursor: default;\n margin-top: 10px;\n margin-right: 10px;\n}\n\n.statusProblema-module_titulo__6REcF{\n width: 100%;\n margin-top: 10px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n padding-left: 24px;\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 24px;\n line-height: 130%;\n text-align: center;\n letter-spacing: 0.01em;\n color: #222222;\n}\n\n.statusProblema-module_container__KLG2- {\n overflow: auto;\n min-width: 100%;\n max-width: 100%;\n \n \n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n flex-wrap: noWrap;\n\n margin-top: 20px;\n margin-left: 0px;\n\n border: 1px solid #BDBDBD;\n border-left: 0px;\n padding-bottom: 16px;\n}\n\n.statusProblema-module_containerItem__-Ui-d {\n width: 400px;\n margin-top: 24px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.statusProblema-module_containerData__QoS0I {\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n@media (max-width: 500px) { \n .statusProblema-module_containerItem__-Ui-d {\n width: 90vw;\n }\n}\n\n.statusProblema-module_avatar__4mtlc{\n\n font-size: 14px;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n.statusProblema-module_descricao__OJJt7{ \n text-align: left;\n display: flex;\n justify-content: center;\n align-items: center;\n font-family: 'PT Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 110%;\n}\n\n\n.statusProblema-module_modal_controls_wrapper__1dEvp {\n gap: 23px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 20px;\n padding: 0 24px;\n}\n\n.statusProblema-module_status_logo__1zV01 {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.statusProblema-module_name__BZi68 {\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n line-height: 20px;\n display: flex;\n align-items: center;\n text-align: center;\n letter-spacing: -0.02em;\n color: #FF4D0D;\n}\n\n.statusProblema-module_sub_title__s8MA4 {\n font-family: 'PT Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 18px;\n text-align: center;\n}\n";
4895
- var style$a = {"modalBox":"statusProblema-module_modalBox__SJtEw","fechar":"statusProblema-module_fechar__6ESi1","titulo":"statusProblema-module_titulo__6REcF","container":"statusProblema-module_container__KLG2-","containerItem":"statusProblema-module_containerItem__-Ui-d","containerData":"statusProblema-module_containerData__QoS0I","avatar":"statusProblema-module_avatar__4mtlc","descricao":"statusProblema-module_descricao__OJJt7","modal_controls_wrapper":"statusProblema-module_modal_controls_wrapper__1dEvp","status_logo":"statusProblema-module_status_logo__1zV01","name":"statusProblema-module_name__BZi68","sub_title":"statusProblema-module_sub_title__s8MA4"};
4896
- styleInject(css_248z$b);
4918
+ var css_248z$c = ".statusProblema-module_modalBox__SJtEw{\n background-color: #FFF;\n width: 800px;\n min-height: 400px;\n max-height: 80%;\n padding-top: 20px;\n padding-bottom: 20px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n border-radius: 10px;\n\n font-family: 'Work Sans';\n\n}\n\n.statusProblema-module_fechar__6ESi1{\n font-size: 12px;\n padding: 8px;\n display: flex;\n justify-content: right;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n margin-top: 0px;\n cursor: default;\n margin-top: 10px;\n margin-right: 10px;\n}\n\n.statusProblema-module_titulo__6REcF{\n width: 100%;\n margin-top: 10px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n padding-left: 24px;\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 24px;\n line-height: 130%;\n text-align: center;\n letter-spacing: 0.01em;\n color: #222222;\n}\n\n.statusProblema-module_container__KLG2- {\n overflow: auto;\n min-width: 100%;\n max-width: 100%;\n \n \n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n flex-wrap: noWrap;\n\n margin-top: 20px;\n margin-left: 0px;\n\n border: 1px solid #BDBDBD;\n border-left: 0px;\n padding-bottom: 16px;\n}\n\n.statusProblema-module_containerItem__-Ui-d {\n width: 400px;\n margin-top: 24px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.statusProblema-module_containerData__QoS0I {\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n}\n\n@media (max-width: 500px) { \n .statusProblema-module_containerItem__-Ui-d {\n width: 90vw;\n }\n}\n\n.statusProblema-module_avatar__4mtlc{\n\n font-size: 14px;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n.statusProblema-module_descricao__OJJt7{ \n text-align: left;\n display: flex;\n justify-content: center;\n align-items: center;\n font-family: 'PT Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 110%;\n}\n\n\n.statusProblema-module_modal_controls_wrapper__1dEvp {\n gap: 23px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 20px;\n padding: 0 24px;\n}\n\n.statusProblema-module_status_logo__1zV01 {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.statusProblema-module_name__BZi68 {\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n line-height: 20px;\n display: flex;\n align-items: center;\n text-align: center;\n letter-spacing: -0.02em;\n color: #FF4D0D;\n}\n\n.statusProblema-module_sub_title__s8MA4 {\n font-family: 'PT Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 18px;\n text-align: center;\n}\n";
4919
+ var style$b = {"modalBox":"statusProblema-module_modalBox__SJtEw","fechar":"statusProblema-module_fechar__6ESi1","titulo":"statusProblema-module_titulo__6REcF","container":"statusProblema-module_container__KLG2-","containerItem":"statusProblema-module_containerItem__-Ui-d","containerData":"statusProblema-module_containerData__QoS0I","avatar":"statusProblema-module_avatar__4mtlc","descricao":"statusProblema-module_descricao__OJJt7","modal_controls_wrapper":"statusProblema-module_modal_controls_wrapper__1dEvp","status_logo":"statusProblema-module_status_logo__1zV01","name":"statusProblema-module_name__BZi68","sub_title":"statusProblema-module_sub_title__s8MA4"};
4920
+ styleInject(css_248z$c);
4897
4921
 
4898
4922
  var problemaFRST = "data:image/png;base64,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";
4899
4923
 
4900
4924
  function ApprovesItem(props) {
4901
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: style$a.containerItem, children: [jsxRuntime.jsx("div", { className: style$a.avatar, style: { width: props.size }, children: jsxRuntime.jsx(Avatar, { src: props.avatar, size: props.avatarSize }) }), props.statusApprove === 'reviewed' ?
4925
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: style$b.containerItem, children: [jsxRuntime.jsx("div", { className: style$b.avatar, style: { width: props.size }, children: jsxRuntime.jsx(Avatar, { src: props.avatar, size: props.avatarSize }) }), props.statusApprove === 'reviewed' ?
4902
4926
  jsxRuntime.jsx("div", { children: jsxRuntime.jsx(StatusProblemaSawBadgeIcon, {}) })
4903
4927
  : props.statusApprove === 'adjustments' ?
4904
4928
  jsxRuntime.jsx("div", { children: jsxRuntime.jsx(StatusProblemaEdit, {}) })
4905
4929
  :
4906
- jsxRuntime.jsx("div", { children: jsxRuntime.jsx(StatusProblemaSendIcon, {}) }), jsxRuntime.jsx("div", { style: { width: props.size }, className: style$a.status_logo, children: jsxRuntime.jsx(Avatar, { src: problemaFRST, size: props.avatarSize }) })] }), jsxRuntime.jsx("div", { className: style$a.containerItem, style: { marginTop: '8px' }, children: jsxRuntime.jsxs("div", { className: style$a.containerData, style: { width: props.size }, children: [jsxRuntime.jsx("span", { className: style$a.name, children: props.nomeAvatar }), jsxRuntime.jsx("span", { className: style$a.sub_title, children: props.dataAvatar })] }) })] }));
4930
+ jsxRuntime.jsx("div", { children: jsxRuntime.jsx(StatusProblemaSendIcon, {}) }), jsxRuntime.jsx("div", { style: { width: props.size }, className: style$b.status_logo, children: jsxRuntime.jsx(Avatar, { src: problemaFRST, size: props.avatarSize }) })] }), jsxRuntime.jsx("div", { className: style$b.containerItem, style: { marginTop: '8px' }, children: jsxRuntime.jsxs("div", { className: style$b.containerData, style: { width: props.size }, children: [jsxRuntime.jsx("span", { className: style$b.name, children: props.nomeAvatar }), jsxRuntime.jsx("span", { className: style$b.sub_title, children: props.dataAvatar })] }) })] }));
4907
4931
  }
4908
4932
  function ModalStatusProblema(props) {
4909
4933
  // Função para pegar o width da tela
@@ -4917,15 +4941,15 @@ function ModalStatusProblema(props) {
4917
4941
  return () => window.removeEventListener('resize', updateSize);
4918
4942
  }, []);
4919
4943
  const BREAKWIDTH = 500;
4920
- return (jsxRuntime.jsx(material.Modal, { open: props.open, onClose: props.handleClose, children: jsxRuntime.jsxs(material.Box, { className: style$a.modalBox, style: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)', ...props.style }, children: [jsxRuntime.jsx("div", { className: style$a.fechar, onClick: props.handleClose, children: jsxRuntime.jsx(CloseIcon, {}) }), jsxRuntime.jsx("div", { className: style$a.titulo, children: props.title }), jsxRuntime.jsx("div", { className: style$a.container, style: { height: props.approves.length >= 3 ? 555 : 185 * props.approves.length }, children: props.approves.map((item, index) => (jsxRuntime.jsx(ApprovesItem, { avatarSize: (size[0] >= BREAKWIDTH) ? '120px' : '100px', size: (size[0] >= BREAKWIDTH) ? '160px' : '120px', nomeAvatar: item.nome, dataAvatar: item.data, statusApprove: item.approve, avatar: item.avatarFoto }, index))) }), jsxRuntime.jsxs("div", { className: style$a.modal_controls_wrapper, children: [jsxRuntime.jsx("div", { className: style$a.descricao, children: props.description }), jsxRuntime.jsx("div", { className: style$a.conclusao, children: jsxRuntime.jsx(Button$5, { variant: 'primary', label: props.language === 'en-US' ? 'ok, close' : 'Ok, entendi', handleClick: props.handleClose, style: { width: '100%', minWidth: '140px' } }) })] })] }) }));
4944
+ return (jsxRuntime.jsx(material.Modal, { open: props.open, onClose: props.handleClose, children: jsxRuntime.jsxs(material.Box, { className: style$b.modalBox, style: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)', ...props.style }, children: [jsxRuntime.jsx("div", { className: style$b.fechar, onClick: props.handleClose, children: jsxRuntime.jsx(CloseIcon, {}) }), jsxRuntime.jsx("div", { className: style$b.titulo, children: props.title }), jsxRuntime.jsx("div", { className: style$b.container, style: { height: props.approves.length >= 3 ? 555 : 185 * props.approves.length }, children: props.approves.map((item, index) => (jsxRuntime.jsx(ApprovesItem, { avatarSize: (size[0] >= BREAKWIDTH) ? '120px' : '100px', size: (size[0] >= BREAKWIDTH) ? '160px' : '120px', nomeAvatar: item.nome, dataAvatar: item.data, statusApprove: item.approve, avatar: item.avatarFoto }, index))) }), jsxRuntime.jsxs("div", { className: style$b.modal_controls_wrapper, children: [jsxRuntime.jsx("div", { className: style$b.descricao, children: props.description }), jsxRuntime.jsx("div", { className: style$b.conclusao, children: jsxRuntime.jsx(Button$5, { variant: 'primary', label: props.language === 'en-US' ? 'ok, close' : 'Ok, entendi', handleClick: props.handleClose, style: { width: '100%', minWidth: '140px' } }) })] })] }) }));
4921
4945
  }
4922
4946
 
4923
- var css_248z$a = ".modalLearningTech-module_modalBox__y9RGt{\n background-color: #FFF;\n max-width: 900px;\n min-height: 300px;\n max-height: 80%;\n padding-top: 30px;\n padding-bottom: 30px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n border-radius: 10px;\n\n font-family: 'Work Sans';\n \n\n}\n\n.modalLearningTech-module_fechar__1Vw6M{\n font-size: 12px;\n color: #222222;\n padding: 12px;\n background-color: transparent;\n border-top-right-radius: 10px;\n\n display: flex;\n justify-content: right;\n align-items: center;\n position: absolute;\n top: 0px;\n right: 0px;\n\n margin-top: 0px;\n cursor: pointer;\n}\n\n.modalLearningTech-module_titulo__U8Urp{\n \n width: 100%;\n\n margin-top: 10px;\n \n font-size: 24px;\n font-weight: 700;\n \n\n display: flex;\n justify-content: center;\n align-items: center;\n\n \n}\n\n.modalLearningTech-module_container__HKtAY {\n overflow: auto;\n width: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n flex-wrap: noWrap;\n\n margin-top: 10px;\n\n}\n\n.modalLearningTech-module_conclusao__KHnxJ{\n margin-top: 30px;\n\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: nowrap;\n\n}";
4924
- var style$9 = {"modalBox":"modalLearningTech-module_modalBox__y9RGt","fechar":"modalLearningTech-module_fechar__1Vw6M","titulo":"modalLearningTech-module_titulo__U8Urp","container":"modalLearningTech-module_container__HKtAY","conclusao":"modalLearningTech-module_conclusao__KHnxJ"};
4925
- styleInject(css_248z$a);
4947
+ var css_248z$b = ".modalLearningTech-module_modalBox__y9RGt{\n background-color: #FFF;\n max-width: 900px;\n min-height: 300px;\n max-height: 80%;\n padding-top: 30px;\n padding-bottom: 30px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n border-radius: 10px;\n\n font-family: 'Work Sans';\n \n\n}\n\n.modalLearningTech-module_fechar__1Vw6M{\n font-size: 12px;\n color: #222222;\n padding: 12px;\n background-color: transparent;\n border-top-right-radius: 10px;\n\n display: flex;\n justify-content: right;\n align-items: center;\n position: absolute;\n top: 0px;\n right: 0px;\n\n margin-top: 0px;\n cursor: pointer;\n}\n\n.modalLearningTech-module_titulo__U8Urp{\n \n width: 100%;\n\n margin-top: 10px;\n \n font-size: 24px;\n font-weight: 700;\n \n\n display: flex;\n justify-content: center;\n align-items: center;\n\n \n}\n\n.modalLearningTech-module_container__HKtAY {\n overflow: auto;\n width: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n flex-wrap: noWrap;\n\n margin-top: 10px;\n\n}\n\n.modalLearningTech-module_conclusao__KHnxJ{\n margin-top: 30px;\n\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: nowrap;\n\n}";
4948
+ var style$a = {"modalBox":"modalLearningTech-module_modalBox__y9RGt","fechar":"modalLearningTech-module_fechar__1Vw6M","titulo":"modalLearningTech-module_titulo__U8Urp","container":"modalLearningTech-module_container__HKtAY","conclusao":"modalLearningTech-module_conclusao__KHnxJ"};
4949
+ styleInject(css_248z$b);
4926
4950
 
4927
4951
  function ModalLearningTech(props) {
4928
- return (jsxRuntime.jsx(material.Modal, { open: props.open, onClose: props.handleClose, children: jsxRuntime.jsxs(material.Box, { className: style$9.modalBox, style: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)', ...props.style }, children: [jsxRuntime.jsx("div", { className: style$9.fechar, onClick: props.handleClose, children: jsxRuntime.jsx(CloseIcon, {}) }), jsxRuntime.jsx("div", { className: style$9.titulo, children: props.title }), jsxRuntime.jsx("div", { className: style$9.container, children: props.children }), jsxRuntime.jsx("div", { className: style$9.conclusao, children: props.confirmationButton ?
4952
+ return (jsxRuntime.jsx(material.Modal, { open: props.open, onClose: props.handleClose, children: jsxRuntime.jsxs(material.Box, { className: style$a.modalBox, style: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)', ...props.style }, children: [jsxRuntime.jsx("div", { className: style$a.fechar, onClick: props.handleClose, children: jsxRuntime.jsx(CloseIcon, {}) }), jsxRuntime.jsx("div", { className: style$a.titulo, children: props.title }), jsxRuntime.jsx("div", { className: style$a.container, children: props.children }), jsxRuntime.jsx("div", { className: style$a.conclusao, children: props.confirmationButton ?
4929
4953
  props.cancelButton ?
4930
4954
  jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Button$5, { variant: 'link', label: props.cancelButton, handleClick: props.handleClose }), jsxRuntime.jsx("span", { style: { marginRight: 8, marginLeft: 8 }, children: props.language === 'en-US' ? 'or' : 'ou' }), jsxRuntime.jsx(Button$5, { variant: props.typeButtonConfirmation, label: props.confirmationButton, handleClick: props.handleConfirmation })] })
4931
4955
  :
@@ -4934,9 +4958,9 @@ function ModalLearningTech(props) {
4934
4958
  jsxRuntime.jsx(jsxRuntime.Fragment, {}) })] }) }));
4935
4959
  }
4936
4960
 
4937
- var css_248z$9 = ".modalVideo-module_modalBox__qB5gT {\n background-color: #fff;\n max-width: 670px;\n max-height: 80%;\n padding-top: 20px;\n position: relative;\n border-radius: 10px;\n font-family: 'Work Sans';\n}\n\n.modalVideo-module_fechar__jywh1 {\n font-size: 13px;\n color: #222222;\n}\n\n.modalVideo-module_container__OYjiD {\n overflow: auto;\n width: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n flex-wrap: noWrap;\n\n margin-top: 10px;\n}\n";
4938
- var style$8 = {"modalBox":"modalVideo-module_modalBox__qB5gT","fechar":"modalVideo-module_fechar__jywh1","container":"modalVideo-module_container__OYjiD"};
4939
- styleInject(css_248z$9);
4961
+ var css_248z$a = ".modalVideo-module_modalBox__qB5gT {\n background-color: #fff;\n max-width: 670px;\n max-height: 80%;\n padding-top: 20px;\n position: relative;\n border-radius: 10px;\n font-family: 'Work Sans';\n}\n\n.modalVideo-module_fechar__jywh1 {\n font-size: 13px;\n color: #222222;\n}\n\n.modalVideo-module_container__OYjiD {\n overflow: auto;\n width: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n flex-wrap: noWrap;\n\n margin-top: 10px;\n}\n";
4962
+ var style$9 = {"modalBox":"modalVideo-module_modalBox__qB5gT","fechar":"modalVideo-module_fechar__jywh1","container":"modalVideo-module_container__OYjiD"};
4963
+ styleInject(css_248z$a);
4940
4964
 
4941
4965
  const WrapperStars = styled__default["default"].div `
4942
4966
  display: flex;
@@ -5049,22 +5073,22 @@ function ModalVideo(props) {
5049
5073
  setCurrentRating(props.rating);
5050
5074
  }
5051
5075
  }, [props.rating]);
5052
- return (jsxRuntime.jsx(material.Modal, { open: props.open, onClose: props.handleClose, children: jsxRuntime.jsxs(material.Box, { id: `modal-video${(props.title ? props.title : '').replace(/( )+/g, '')}`, className: style$8.modalBox, style: {
5076
+ return (jsxRuntime.jsx(material.Modal, { open: props.open, onClose: props.handleClose, children: jsxRuntime.jsxs(material.Box, { id: `modal-video${(props.title ? props.title : '').replace(/( )+/g, '')}`, className: style$9.modalBox, style: {
5053
5077
  top: '50%',
5054
5078
  left: '50%',
5055
5079
  transform: 'translate(-50%, -50%)',
5056
5080
  height: props.showRating ? '80%' : '400px',
5057
5081
  maxHeight: props.showRating ? '620px' : '400px',
5058
5082
  overflowY: 'auto'
5059
- }, children: [jsxRuntime.jsxs(material.Stack, { flexDirection: "row", alignItems: "flex-start", justifyContent: "space-between", px: 3, children: [jsxRuntime.jsx(material.Box, { textAlign: "left", style: { paddingLeft: 6, }, children: props.title }), jsxRuntime.jsx(material.Box, { className: style$8.fechar, onClick: props.handleClose, children: jsxRuntime.jsx(CloseIcon, {}) })] }), jsxRuntime.jsxs(material.Box, { p: 3, children: [props.videoUrl && (jsxRuntime.jsx(material.Box, { width: "100%", children: jsxRuntime.jsx(Video, { videoId: IdVideo, privateHash: HashVideo, autoplay: 1, controls: 1, keyboard: 1, timeStart: convertTimeToString(props.timeBegin), showSpeedControl: 1, width: 620, height: 400 }) })), props.showRating && (jsxRuntime.jsx(material.Box, { style: { display: 'flex', justifyContent: 'flex-end' }, children: jsxRuntime.jsxs(material.Box, { style: { maxWidth: 240 }, children: [jsxRuntime.jsx("p", { style: { textAlign: 'left', fontSize: 14, fontWeight: 400 }, children: props.ratingDescription }), jsxRuntime.jsx(material.Box, { style: { display: 'flex', justifyContent: 'flex-end' }, children: jsxRuntime.jsx(Rating, { isVisibleNumberRating: true, marginStars: "3.5px", orientation: "horizontal", qtdStars: 5, rating: currentRating, sizeStars: 25, handleRating: (e) => {
5083
+ }, children: [jsxRuntime.jsxs(material.Stack, { flexDirection: "row", alignItems: "flex-start", justifyContent: "space-between", px: 3, children: [jsxRuntime.jsx(material.Box, { textAlign: "left", style: { paddingLeft: 6, }, children: props.title }), jsxRuntime.jsx(material.Box, { className: style$9.fechar, onClick: props.handleClose, children: jsxRuntime.jsx(CloseIcon, {}) })] }), jsxRuntime.jsxs(material.Box, { p: 3, children: [props.videoUrl && (jsxRuntime.jsx(material.Box, { width: "100%", children: jsxRuntime.jsx(Video, { videoId: IdVideo, privateHash: HashVideo, autoplay: 1, controls: 1, keyboard: 1, timeStart: convertTimeToString(props.timeBegin), showSpeedControl: 1, width: 620, height: 400 }) })), props.showRating && (jsxRuntime.jsx(material.Box, { style: { display: 'flex', justifyContent: 'flex-end' }, children: jsxRuntime.jsxs(material.Box, { style: { maxWidth: 240 }, children: [jsxRuntime.jsx("p", { style: { textAlign: 'left', fontSize: 14, fontWeight: 400 }, children: props.ratingDescription }), jsxRuntime.jsx(material.Box, { style: { display: 'flex', justifyContent: 'flex-end' }, children: jsxRuntime.jsx(Rating, { isVisibleNumberRating: true, marginStars: "3.5px", orientation: "horizontal", qtdStars: 5, rating: currentRating, sizeStars: 25, handleRating: (e) => {
5060
5084
  setCurrentRating(e);
5061
5085
  props.handleChangeRating(props.recommendationId, e);
5062
5086
  }, disabled: false }) })] }) }))] })] }) }));
5063
5087
  }
5064
5088
 
5065
- var css_248z$8 = ".cardProblemaGestor-module_container__si6gB {\n width: 100%;\n padding-top: 30px;\n padding-left: 16px;\n padding-right: 16px;\n padding-bottom: 16px;\n\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n position: relative;\n}\n\n.cardProblemaGestor-module_container__si6gB:hover {\n cursor: pointer;\n}\n\n.cardProblemaGestor-module_tagStatusProblem__SKKTK {\n position: absolute;\n top: 0;\n right: 0;\n\n font-size: 12px;\n font-weight: 500;\n padding: 8px;\n\n border-bottom-left-radius: 8px;\n \n\n}\n\n.cardProblemaGestor-module_checkBox__SK00W {\n \n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n height: 100%;\n padding-top: 20px;\n padding-left: 12px;\n \n\n position: absolute;\n left: 0;\n\n}\n\n.cardProblemaGestor-module_contentCard__0-ex3 {\n \n \n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n}\n\n.cardProblemaGestor-module_avatarInfoUser__dZei- {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.cardProblemaGestor-module_infoUser__naGfk {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n margin-left: 4px;\n}\n\n.cardProblemaGestor-module_tituloCard__i4n9p {\n \n margin-top: 4px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n font-weight: 600;\n font-size: 18px;\n word-wrap: break-word;\n}\n\n.cardProblemaGestor-module_tagsContainer__K2zv5 {\n \n \n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.cardProblemaGestor-module_avaliacao__w2-fB {\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n \n}\n";
5066
- var style$7 = {"container":"cardProblemaGestor-module_container__si6gB","tagStatusProblem":"cardProblemaGestor-module_tagStatusProblem__SKKTK","checkBox":"cardProblemaGestor-module_checkBox__SK00W","contentCard":"cardProblemaGestor-module_contentCard__0-ex3","avatarInfoUser":"cardProblemaGestor-module_avatarInfoUser__dZei-","infoUser":"cardProblemaGestor-module_infoUser__naGfk","tituloCard":"cardProblemaGestor-module_tituloCard__i4n9p","tagsContainer":"cardProblemaGestor-module_tagsContainer__K2zv5","avaliacao":"cardProblemaGestor-module_avaliacao__w2-fB"};
5067
- styleInject(css_248z$8);
5089
+ var css_248z$9 = ".cardProblemaGestor-module_container__si6gB {\n width: 100%;\n padding-top: 30px;\n padding-left: 16px;\n padding-right: 16px;\n padding-bottom: 16px;\n\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n position: relative;\n}\n\n.cardProblemaGestor-module_container__si6gB:hover {\n cursor: pointer;\n}\n\n.cardProblemaGestor-module_tagStatusProblem__SKKTK {\n position: absolute;\n top: 0;\n right: 0;\n\n font-size: 12px;\n font-weight: 500;\n padding: 8px;\n\n border-bottom-left-radius: 8px;\n \n\n}\n\n.cardProblemaGestor-module_checkBox__SK00W {\n \n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n height: 100%;\n padding-top: 20px;\n padding-left: 12px;\n \n\n position: absolute;\n left: 0;\n\n}\n\n.cardProblemaGestor-module_contentCard__0-ex3 {\n \n \n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n}\n\n.cardProblemaGestor-module_avatarInfoUser__dZei- {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.cardProblemaGestor-module_infoUser__naGfk {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n margin-left: 4px;\n}\n\n.cardProblemaGestor-module_tituloCard__i4n9p {\n \n margin-top: 4px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n font-weight: 600;\n font-size: 18px;\n word-wrap: break-word;\n}\n\n.cardProblemaGestor-module_tagsContainer__K2zv5 {\n \n \n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.cardProblemaGestor-module_avaliacao__w2-fB {\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n \n}\n";
5090
+ var style$8 = {"container":"cardProblemaGestor-module_container__si6gB","tagStatusProblem":"cardProblemaGestor-module_tagStatusProblem__SKKTK","checkBox":"cardProblemaGestor-module_checkBox__SK00W","contentCard":"cardProblemaGestor-module_contentCard__0-ex3","avatarInfoUser":"cardProblemaGestor-module_avatarInfoUser__dZei-","infoUser":"cardProblemaGestor-module_infoUser__naGfk","tituloCard":"cardProblemaGestor-module_tituloCard__i4n9p","tagsContainer":"cardProblemaGestor-module_tagsContainer__K2zv5","avaliacao":"cardProblemaGestor-module_avaliacao__w2-fB"};
5091
+ styleInject(css_248z$9);
5068
5092
 
5069
5093
  /**
5070
5094
  * @param {CardProblemGestorProps} props
@@ -5072,16 +5096,16 @@ styleInject(css_248z$8);
5072
5096
  function CardProblemGestor(props) {
5073
5097
  const statusBg = props.statusBackgroundColor || '#757575';
5074
5098
  const statusColor = props.statusColor || '#FFFFFF';
5075
- return (jsxRuntime.jsxs("div", { className: style$7.container, style: { border: '1px solid ', borderColor: '#CCC', backgroundColor: '#FFF', color: '#000' }, onClick: () => props.onClick(props.problemID), children: [jsxRuntime.jsx("div", { className: style$7.tagStatusProblem, style: { background: statusBg || '#757575', color: statusColor }, children: props.statusName }), jsxRuntime.jsxs("div", { className: style$7.contentCard, children: [jsxRuntime.jsxs("div", { className: style$7.avatarInfoUser, children: [jsxRuntime.jsxs("div", { children: [" ", jsxRuntime.jsx(Avatar, { size: '40px', src: props.userAvatar }), " "] }), jsxRuntime.jsxs("div", { className: style$7.infoUser, children: [jsxRuntime.jsx("span", { style: { fontSize: 16, fontWeight: 600 }, children: props.userName }), jsxRuntime.jsx("span", { style: { fontSize: 14, fontWeight: 400 }, children: props.userCargo })] })] }), props.cardTitle &&
5076
- jsxRuntime.jsx("div", { className: style$7.tituloCard, style: { color: '#FF4D0D', width: '100%' }, children: jsxRuntime.jsx("span", { children: props.cardTitle }) }), props.tags &&
5077
- jsxRuntime.jsx("div", { className: style$7.tagsContainer, children: props.tags.map((item, index) => (jsxRuntime.jsx(Tag, { title: item, color: '#050505', selected: false, inverted: true, style: { fontWeight: 500, fontSize: 14, marginRight: 8, marginTop: 8 } }, index))) }), props.ratingImpacto &&
5078
- jsxRuntime.jsxs("div", { className: style$7.avaliacao, children: [jsxRuntime.jsx(Rating$1, { nota: props.ratingImpacto.nota, qtdeAvaliacao: props.ratingImpacto.qtdeAvaliacao, descricaoAvaliacao: props.ratingImpacto.description, titulo: props.locales?.impact, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(Rating$1, { nota: props.ratingRelevancia.nota, qtdeAvaliacao: props.ratingRelevancia.qtdeAvaliacao, descricaoAvaliacao: props.ratingRelevancia.description, titulo: props.locales?.relevance, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(RatingCurtidas, { qtdeCurtidas: props.ratingCurtidas, titulo: props.locales?.likes, tipoBotao: 4, style: { margin: 0, width: 90 }, descricaoCurtida: props.locales?.likesDescription })] }), props.lastUpdated &&
5099
+ return (jsxRuntime.jsxs("div", { className: style$8.container, style: { border: '1px solid ', borderColor: '#CCC', backgroundColor: '#FFF', color: '#000' }, onClick: () => props.onClick(props.problemID), children: [jsxRuntime.jsx("div", { className: style$8.tagStatusProblem, style: { background: statusBg || '#757575', color: statusColor }, children: props.statusName }), jsxRuntime.jsxs("div", { className: style$8.contentCard, children: [jsxRuntime.jsxs("div", { className: style$8.avatarInfoUser, children: [jsxRuntime.jsxs("div", { children: [" ", jsxRuntime.jsx(Avatar, { size: '40px', src: props.userAvatar }), " "] }), jsxRuntime.jsxs("div", { className: style$8.infoUser, children: [jsxRuntime.jsx("span", { style: { fontSize: 16, fontWeight: 600 }, children: props.userName }), jsxRuntime.jsx("span", { style: { fontSize: 14, fontWeight: 400 }, children: props.userCargo })] })] }), props.cardTitle &&
5100
+ jsxRuntime.jsx("div", { className: style$8.tituloCard, style: { color: '#FF4D0D', width: '100%' }, children: jsxRuntime.jsx("span", { children: props.cardTitle }) }), props.tags &&
5101
+ jsxRuntime.jsx("div", { className: style$8.tagsContainer, children: props.tags.map((item, index) => (jsxRuntime.jsx(Tag, { title: item, color: '#050505', selected: false, inverted: true, style: { fontWeight: 500, fontSize: 14, marginRight: 8, marginTop: 8 } }, index))) }), props.ratingImpacto &&
5102
+ jsxRuntime.jsxs("div", { className: style$8.avaliacao, children: [jsxRuntime.jsx(Rating$1, { nota: props.ratingImpacto.nota, qtdeAvaliacao: props.ratingImpacto.qtdeAvaliacao, descricaoAvaliacao: props.ratingImpacto.description, titulo: props.locales?.impact, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(Rating$1, { nota: props.ratingRelevancia.nota, qtdeAvaliacao: props.ratingRelevancia.qtdeAvaliacao, descricaoAvaliacao: props.ratingRelevancia.description, titulo: props.locales?.relevance, tipoVisualizacao: 2, style: { margin: 0, width: 120 }, nomeAvaliacao: props.locales?.evaluation }), jsxRuntime.jsx(RatingCurtidas, { qtdeCurtidas: props.ratingCurtidas, titulo: props.locales?.likes, tipoBotao: 4, style: { margin: 0, width: 90 }, descricaoCurtida: props.locales?.likesDescription })] }), props.lastUpdated &&
5079
5103
  jsxRuntime.jsxs("div", { style: { color: '#0645AD', fontSize: 12, fontWeight: 400, marginTop: 8 }, children: [props.lastUpdated, " "] })] })] }));
5080
5104
  }
5081
5105
 
5082
- var css_248z$7 = ".cardProblem-module_container__eYX3j {\n width: 100%;\n border-radius: 10px;\n padding-right: 24px;\n padding-left: 48px;\n padding-top: 40px;\n padding-bottom: 24px;\n\n\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n position: relative;\n}\n\n.cardProblem-module_container__eYX3j:hover {\n box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.2);\n}\n\n.cardProblem-module_contentCard__oBqoN:hover {\n cursor: pointer;\n}\n\n.cardProblem-module_tagStatusProblem__11NQe {\n position: absolute;\n top: 0;\n right: 0;\n\n font-size: 12px;\n font-weight: 500;\n padding: 8px;\n\n border-bottom-left-radius: 8px;\n border-top-right-radius: 5px;\n\n}\n\n.cardProblem-module_checkBox__hhdF6 {\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n height: 100%;\n padding-top: 17px;\n padding-left: 16px;\n\n\n position: absolute;\n left: 0;\n\n}\n\n.cardProblem-module_contentCard__oBqoN {\n\n margin-left: 8px;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n}\n\n.cardProblem-module_avatarInfoUser__0ppVK {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-bottom: 24px;\n \n\n}\n\n.cardProblem-module_infoUser__Zx6rx {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n margin-left: 16px;\n}\n\n.cardProblem-module_tituloCard__JD95u {\n\n margin-top: 4px;\n margin-bottom: 8px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n font-weight: 600;\n font-size: 18px;\n word-break: break-all;\n}\n\n.cardProblem-module_tagsContainer__IwGeV {\n\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.cardProblem-module_buttonVerMais__qgmLA {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n position: absolute;\n bottom: 0;\n right: 0;\n font-weight: 600;\n\n margin-bottom: 26px;\n margin-right: 30px;\n}";
5083
- var style$6 = {"container":"cardProblem-module_container__eYX3j","contentCard":"cardProblem-module_contentCard__oBqoN","tagStatusProblem":"cardProblem-module_tagStatusProblem__11NQe","checkBox":"cardProblem-module_checkBox__hhdF6","avatarInfoUser":"cardProblem-module_avatarInfoUser__0ppVK","infoUser":"cardProblem-module_infoUser__Zx6rx","tituloCard":"cardProblem-module_tituloCard__JD95u","tagsContainer":"cardProblem-module_tagsContainer__IwGeV","buttonVerMais":"cardProblem-module_buttonVerMais__qgmLA"};
5084
- styleInject(css_248z$7);
5106
+ var css_248z$8 = ".cardProblem-module_container__eYX3j {\n width: 100%;\n border-radius: 10px;\n padding-right: 24px;\n padding-left: 48px;\n padding-top: 40px;\n padding-bottom: 24px;\n\n\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n position: relative;\n}\n\n.cardProblem-module_container__eYX3j:hover {\n box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.2);\n}\n\n.cardProblem-module_contentCard__oBqoN:hover {\n cursor: pointer;\n}\n\n.cardProblem-module_tagStatusProblem__11NQe {\n position: absolute;\n top: 0;\n right: 0;\n\n font-size: 12px;\n font-weight: 500;\n padding: 8px;\n\n border-bottom-left-radius: 8px;\n border-top-right-radius: 5px;\n\n}\n\n.cardProblem-module_checkBox__hhdF6 {\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n height: 100%;\n padding-top: 17px;\n padding-left: 16px;\n\n\n position: absolute;\n left: 0;\n\n}\n\n.cardProblem-module_contentCard__oBqoN {\n\n margin-left: 8px;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n}\n\n.cardProblem-module_avatarInfoUser__0ppVK {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-bottom: 24px;\n \n\n}\n\n.cardProblem-module_infoUser__Zx6rx {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n margin-left: 16px;\n}\n\n.cardProblem-module_tituloCard__JD95u {\n\n margin-top: 4px;\n margin-bottom: 8px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n font-weight: 600;\n font-size: 18px;\n word-break: break-all;\n}\n\n.cardProblem-module_tagsContainer__IwGeV {\n\n\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.cardProblem-module_buttonVerMais__qgmLA {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n position: absolute;\n bottom: 0;\n right: 0;\n font-weight: 600;\n\n margin-bottom: 26px;\n margin-right: 30px;\n}";
5107
+ var style$7 = {"container":"cardProblem-module_container__eYX3j","contentCard":"cardProblem-module_contentCard__oBqoN","tagStatusProblem":"cardProblem-module_tagStatusProblem__11NQe","checkBox":"cardProblem-module_checkBox__hhdF6","avatarInfoUser":"cardProblem-module_avatarInfoUser__0ppVK","infoUser":"cardProblem-module_infoUser__Zx6rx","tituloCard":"cardProblem-module_tituloCard__JD95u","tagsContainer":"cardProblem-module_tagsContainer__IwGeV","buttonVerMais":"cardProblem-module_buttonVerMais__qgmLA"};
5108
+ styleInject(css_248z$8);
5085
5109
 
5086
5110
  const translate = {
5087
5111
  "pt-BR": {
@@ -5201,13 +5225,13 @@ function CardProblem(props) {
5201
5225
  updateSize();
5202
5226
  return () => window.removeEventListener('resize', updateSize);
5203
5227
  }, []);
5204
- return (jsxRuntime.jsxs("div", { className: style$6.container, style: { border: '1px solid ', borderColor: statusColor, backgroundColor: selected ? '#FF4D0D' : '#FFF', color: selected ? '#FFF' : '#000' }, children: [jsxRuntime.jsx("div", { className: style$6.tagStatusProblem, style: { background: statusColor, color: statusName === translate[languageSlected]['hypothesesTaised'] ? '#222222' : '#FFF' }, children: statusName }), jsxRuntime.jsx("div", { className: style$6.checkBox, onClick: () => {
5228
+ return (jsxRuntime.jsxs("div", { className: style$7.container, style: { border: '1px solid ', borderColor: statusColor, backgroundColor: selected ? '#FF4D0D' : '#FFF', color: selected ? '#FFF' : '#000' }, children: [jsxRuntime.jsx("div", { className: style$7.tagStatusProblem, style: { background: statusColor, color: statusName === translate[languageSlected]['hypothesesTaised'] ? '#222222' : '#FFF' }, children: statusName }), jsxRuntime.jsx("div", { className: style$7.checkBox, onClick: () => {
5205
5229
  props.handleSelect(props.problemID);
5206
- }, children: selected ? jsxRuntime.jsx(CheckboxChecked, {}) : jsxRuntime.jsx(CheckboxEmpty, {}) }), jsxRuntime.jsxs("div", { className: style$6.contentCard, onClick: () => { props.onClick(props.problemID); }, children: [jsxRuntime.jsxs("div", { className: style$6.avatarInfoUser, children: [jsxRuntime.jsxs("div", { children: [" ", jsxRuntime.jsx(Avatar, { size: '40px', src: props.userAvatar }), " "] }), jsxRuntime.jsxs("div", { className: style$6.infoUser, children: [jsxRuntime.jsx("span", { style: { fontSize: 16, fontWeight: 600 }, children: props.userName }), jsxRuntime.jsx("span", { style: { fontSize: 14, fontWeight: 400 }, children: props.userCargo })] })] }), props.isVerified ?
5230
+ }, children: selected ? jsxRuntime.jsx(CheckboxChecked, {}) : jsxRuntime.jsx(CheckboxEmpty, {}) }), jsxRuntime.jsxs("div", { className: style$7.contentCard, onClick: () => { props.onClick(props.problemID); }, children: [jsxRuntime.jsxs("div", { className: style$7.avatarInfoUser, children: [jsxRuntime.jsxs("div", { children: [" ", jsxRuntime.jsx(Avatar, { size: '40px', src: props.userAvatar }), " "] }), jsxRuntime.jsxs("div", { className: style$7.infoUser, children: [jsxRuntime.jsx("span", { style: { fontSize: 16, fontWeight: 600 }, children: props.userName }), jsxRuntime.jsx("span", { style: { fontSize: 14, fontWeight: 400 }, children: props.userCargo })] })] }), props.isVerified ?
5207
5231
  jsxRuntime.jsxs("div", { style: { textAlign: 'center', display: 'flex' }, children: [jsxRuntime.jsx("div", { style: { color: selected ? '#FFF' : '#000', width: '100%', fontWeight: 700 }, children: jsxRuntime.jsx("span", { children: translate[languageSlected]['verifiedChallenge'] }) }), jsxRuntime.jsx(SawBadgeIcon, {})] })
5208
5232
  :
5209
5233
  jsxRuntime.jsx("div", { style: { color: selected ? '#FFF' : '#000', width: '100%', fontWeight: 700 }, children: jsxRuntime.jsx("span", { children: translate[languageSlected]['challenge'] }) }), props.cardTitle &&
5210
- jsxRuntime.jsx("div", { className: style$6.tituloCard, style: { color: selected ? '#FFF' : '#FF4D0D', width: '100%' }, children: jsxRuntime.jsx("span", { children: props.cardTitle }) }), statusName !== translate[languageSlected][6] ?
5234
+ jsxRuntime.jsx("div", { className: style$7.tituloCard, style: { color: selected ? '#FFF' : '#FF4D0D', width: '100%' }, children: jsxRuntime.jsx("span", { children: props.cardTitle }) }), statusName !== translate[languageSlected][6] ?
5211
5235
  props.trilhaVinculada ?
5212
5236
  jsxRuntime.jsx(TextIcon, { description: `${translate[languageSlected]['linkedTrail']} ${props.trilhaVinculada}`, svg: jsxRuntime.jsx(WithTrail, {}), style: { fontSize: 12, fontWeight: 400, marginTop: 8 } })
5213
5237
  :
@@ -5215,12 +5239,12 @@ function CardProblem(props) {
5215
5239
  :
5216
5240
  jsxRuntime.jsx(jsxRuntime.Fragment, {}), props.lastUpdated &&
5217
5241
  jsxRuntime.jsxs("div", { style: { color: '#000', fontSize: 12, fontWeight: 400, marginTop: 40 }, children: [props.lastUpdated, " "] }), props.isButtonVerMais &&
5218
- jsxRuntime.jsx("div", { className: style$6.buttonVerMais, children: jsxRuntime.jsx(Button$5, { variant: 'link', label: translate[languageSlected]['viewMore'], handleClick: () => props.onClick(props.problemID) }) })] })] }));
5242
+ jsxRuntime.jsx("div", { className: style$7.buttonVerMais, children: jsxRuntime.jsx(Button$5, { variant: 'link', label: translate[languageSlected]['viewMore'], handleClick: () => props.onClick(props.problemID) }) })] })] }));
5219
5243
  }
5220
5244
 
5221
- var css_248z$6 = ".cardDefinicaoFase-module_container__KEYns {\r\n width: 282px;\r\n color: #222222;\r\n background-color: #fff;\r\n border-radius: 10px;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n position: relative;\r\n}\r\n\r\n.cardDefinicaoFase-module_headerContainer__uxRId {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: flex-end;\r\n background: rgba(241, 134, 36, 0.2);\r\n height: 200px;\r\n}\r\n\r\n.cardDefinicaoFase-module_titleDescription__x7pED {\r\n font-family: 'PT Sans';\r\n font-style: normal;\r\n font-weight: 700;\r\n font-size: 16px;\r\n line-height: 110%;\r\n color: #444444;\r\n}\r\n\r\n.cardDefinicaoFase-module_description__-pzJG {\r\n font-family: 'Work Sans';\r\n font-style: normal;\r\n font-weight: 500;\r\n font-size: 20px;\r\n line-height: 23px;\r\n color: #f26818;\r\n max-width: 250px;\r\n word-break: break-word;\r\n}\r\n\r\n.cardDefinicaoFase-module_descriptionContainer__XLHCC {\r\n padding: 20px;\r\n height: 197px;\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n flex-wrap: wrap;\r\n margin-bottom: 1rem;\r\n}\r\n\r\n.cardDefinicaoFase-module_buttonContainer__6u6bM {\r\n display: flex;\r\n justify-content: space-between;\r\n height: 55px;\r\n padding: 0 35px;\r\n border-radius: 0px 0px 8px 8px;\r\n border: 1px solid #bdbdbd;\r\n}\r\n\r\n.cardDefinicaoFase-module_divisoria__IYAiv {\r\n border: 1px solid #bdbdbd;\r\n transform: rotate(360deg);\r\n}\r\n\r\n.cardDefinicaoFase-module_titleAndMenu__aqXT0 {\r\n display: flex;\r\n justify-content: space-between;\r\n width: 100%;\r\n align-items: center;\r\n margin-bottom: 9px;\r\n}\r\n\r\n.cardDefinicaoFase-module_titleFrase__b8v0i {\r\n font-family: 'PT Sans';\r\n font-style: normal;\r\n font-weight: 700;\r\n font-size: 25px;\r\n line-height: 110%;\r\n color: #f18624;\r\n max-width: 250px;\r\n word-break: break-word;\r\n padding-left: 1.5rem;\r\n padding-bottom: 2rem;\r\n word-break: break-word;\r\n}\r\n\r\n.cardDefinicaoFase-module_buttonFinalizado__V8Oas {\r\n display: flex;\r\n justify-content: center;\r\n height: 55px;\r\n padding: 0 35px;\r\n border-radius: 0px 0px 8px 8px;\r\n border: 1px solid #bdbdbd;\r\n}\r\n";
5222
- var style$5 = {"container":"cardDefinicaoFase-module_container__KEYns","headerContainer":"cardDefinicaoFase-module_headerContainer__uxRId","titleDescription":"cardDefinicaoFase-module_titleDescription__x7pED","description":"cardDefinicaoFase-module_description__-pzJG","descriptionContainer":"cardDefinicaoFase-module_descriptionContainer__XLHCC","buttonContainer":"cardDefinicaoFase-module_buttonContainer__6u6bM","divisoria":"cardDefinicaoFase-module_divisoria__IYAiv","titleAndMenu":"cardDefinicaoFase-module_titleAndMenu__aqXT0","titleFrase":"cardDefinicaoFase-module_titleFrase__b8v0i","buttonFinalizado":"cardDefinicaoFase-module_buttonFinalizado__V8Oas"};
5223
- styleInject(css_248z$6);
5245
+ var css_248z$7 = ".cardDefinicaoFase-module_container__KEYns {\r\n width: 282px;\r\n color: #222222;\r\n background-color: #fff;\r\n border-radius: 10px;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n position: relative;\r\n}\r\n\r\n.cardDefinicaoFase-module_headerContainer__uxRId {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: flex-end;\r\n background: rgba(241, 134, 36, 0.2);\r\n height: 200px;\r\n max-width: 282px;\r\n}\r\n\r\n.cardDefinicaoFase-module_titleDescription__x7pED {\r\n font-family: 'PT Sans';\r\n font-style: normal;\r\n font-weight: 700;\r\n font-size: 16px;\r\n line-height: 110%;\r\n color: #444444;\r\n max-width: 250px;\r\n word-break: break-word !important;\r\n}\r\n\r\n.cardDefinicaoFase-module_description__-pzJG {\r\n font-family: 'Work Sans';\r\n font-style: normal;\r\n font-weight: 500;\r\n font-size: 20px;\r\n line-height: 23px;\r\n color: #f26818;\r\n max-width: 250px;\r\n word-break: break-word !important;\r\n}\r\n\r\n.cardDefinicaoFase-module_descriptionContainer__XLHCC {\r\n padding: 20px;\r\n height: 197px;\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n flex-wrap: wrap;\r\n margin-bottom: 1rem;\r\n}\r\n\r\n.cardDefinicaoFase-module_buttonContainer__6u6bM {\r\n display: flex;\r\n justify-content: space-between;\r\n height: 55px;\r\n padding: 0 35px;\r\n border-radius: 0px 0px 8px 8px;\r\n border: 1px solid #bdbdbd;\r\n}\r\n\r\n.cardDefinicaoFase-module_divisoria__IYAiv {\r\n border: 1px solid #bdbdbd;\r\n transform: rotate(360deg);\r\n}\r\n\r\n.cardDefinicaoFase-module_titleAndMenu__aqXT0 {\r\n display: flex;\r\n justify-content: space-between;\r\n width: 100%;\r\n align-items: center;\r\n margin-bottom: 9px;\r\n}\r\n\r\n.cardDefinicaoFase-module_titleFrase__b8v0i {\r\n font-family: 'PT Sans';\r\n font-style: normal;\r\n font-weight: 700;\r\n font-size: 25px;\r\n line-height: 110%;\r\n color: #f18624;\r\n max-width: 200px;\r\n padding-left: 1.5rem;\r\n padding-bottom: 2rem;\r\n word-break: break-word !important;\r\n}\r\n\r\n.cardDefinicaoFase-module_buttonFinalizado__V8Oas {\r\n display: flex;\r\n justify-content: center;\r\n height: 55px;\r\n padding: 0 35px;\r\n border-radius: 0px 0px 8px 8px;\r\n border: 1px solid #bdbdbd;\r\n}\r\n";
5246
+ var style$6 = {"container":"cardDefinicaoFase-module_container__KEYns","headerContainer":"cardDefinicaoFase-module_headerContainer__uxRId","titleDescription":"cardDefinicaoFase-module_titleDescription__x7pED","description":"cardDefinicaoFase-module_description__-pzJG","descriptionContainer":"cardDefinicaoFase-module_descriptionContainer__XLHCC","buttonContainer":"cardDefinicaoFase-module_buttonContainer__6u6bM","divisoria":"cardDefinicaoFase-module_divisoria__IYAiv","titleAndMenu":"cardDefinicaoFase-module_titleAndMenu__aqXT0","titleFrase":"cardDefinicaoFase-module_titleFrase__b8v0i","buttonFinalizado":"cardDefinicaoFase-module_buttonFinalizado__V8Oas"};
5247
+ styleInject(css_248z$7);
5224
5248
 
5225
5249
  styled__default["default"].p `
5226
5250
  color: white;
@@ -5375,12 +5399,12 @@ function CardDefinicaoFase(props) {
5375
5399
  return jsxRuntime.jsx(FaseUm, {});
5376
5400
  }
5377
5401
  }
5378
- return (jsxRuntime.jsxs("div", { className: style$5.container, children: [jsxRuntime.jsxs("div", { className: style$5.headerContainer, children: [jsxRuntime.jsx("div", { className: style$5.titleFrase, children: props.titleFase ? props.titleFase : 'Definição do objetivo' }), props.fase ? handleFase() : jsxRuntime.jsx(FaseUm, {})] }), jsxRuntime.jsxs("div", { className: style$5.descriptionContainer, children: [jsxRuntime.jsxs("div", { className: style$5.titleAndMenu, children: [jsxRuntime.jsxs("span", { className: style$5.titleDescription, children: [" ", props.cardTitle] }), jsxRuntime.jsx(MenuMore, { options: props.optionsMenuMore })] }), jsxRuntime.jsxs("span", { className: style$5.description, children: [" ", props.cardDescription] })] }), props.fase === 'finalizado' ? (jsxRuntime.jsx("div", { className: style$5.buttonFinalizado, children: jsxRuntime.jsx(Button$5, { variant: "link", label: props.textButtonVisualizar ? props.textButtonVisualizar : 'Visualizar', handleClick: props.handleToView }) })) : (jsxRuntime.jsxs("div", { className: style$5.buttonContainer, children: [jsxRuntime.jsx(Button$5, { variant: "link", label: props.textButtonVisualizar ? props.textButtonVisualizar : 'Visualizar', handleClick: props.handleToView }), jsxRuntime.jsx("div", { className: style$5.divisoria }), jsxRuntime.jsx(Button$5, { variant: "link", label: props.textButtonContinue ? props.textButtonContinue : 'Continuar', handleClick: props.handleClickContinue })] }))] }));
5402
+ return (jsxRuntime.jsxs("div", { className: style$6.container, children: [jsxRuntime.jsxs("div", { className: style$6.headerContainer, children: [jsxRuntime.jsx("div", { className: style$6.titleFrase, children: props.titleFase ? props.titleFase : 'Definição do objetivo' }), props.fase ? handleFase() : jsxRuntime.jsx(FaseUm, {})] }), jsxRuntime.jsxs("div", { className: style$6.descriptionContainer, children: [jsxRuntime.jsxs("div", { className: style$6.titleAndMenu, children: [jsxRuntime.jsxs("span", { className: style$6.titleDescription, children: [" ", props.cardTitle] }), jsxRuntime.jsx(MenuMore, { options: props.optionsMenuMore })] }), jsxRuntime.jsxs("span", { className: style$6.description, children: [" ", props.cardDescription] })] }), props.fase === 'finalizado' ? (jsxRuntime.jsx("div", { className: style$6.buttonFinalizado, children: jsxRuntime.jsx(Button$5, { variant: "link", label: props.textButtonVisualizar ? props.textButtonVisualizar : 'Visualizar', handleClick: props.handleToView }) })) : (jsxRuntime.jsxs("div", { className: style$6.buttonContainer, children: [jsxRuntime.jsx(Button$5, { variant: "link", label: props.textButtonVisualizar ? props.textButtonVisualizar : 'Visualizar', handleClick: props.handleToView }), jsxRuntime.jsx("div", { className: style$6.divisoria }), jsxRuntime.jsx(Button$5, { variant: "link", label: props.textButtonContinue ? props.textButtonContinue : 'Continuar', handleClick: props.handleClickContinue })] }))] }));
5379
5403
  }
5380
5404
 
5381
- var css_248z$5 = ".cardResultConquista-module_container__39blw {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n width: 343px;\n height: 265px;\n padding: 24px;\n border: 1px solid #BDBDBD;\n border-radius: 8px;\n font-family: 'work sans';\n word-wrap: break-word;\n}\n\n.cardResultConquista-module_container__39blw:hover {\n box-shadow: 0px 0px 20px -7px #BDBDBD;\n}\n\n.cardResultConquista-module_container__39blw:active {\n box-shadow: 0px 0px 20px -7px #BDBDBD;\n background-color: #FF4D0D;\n}\n\n.cardResultConquista-module_cardAvatar__mEUL0 {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.cardResultConquista-module_description__rgSn5 {\n max-height: 100px !important;\n width: 300px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 4; /** número de linhas que você quer exibir */\n -webkit-box-orient: vertical;\n word-wrap: break-word;\n}\n\n.cardResultConquista-module_verMais__8mtfe {\n position:absolute;\n color: #0645AD;\n font-weight: 700;\n right: 0;\n bottom: 0;\n margin-right: 20px;\n margin-bottom: 12px;\n}";
5382
- var style$4 = {"container":"cardResultConquista-module_container__39blw","cardAvatar":"cardResultConquista-module_cardAvatar__mEUL0","description":"cardResultConquista-module_description__rgSn5","verMais":"cardResultConquista-module_verMais__8mtfe"};
5383
- styleInject(css_248z$5);
5405
+ var css_248z$6 = ".cardResultConquista-module_container__39blw {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-direction: column;\n position: relative;\n\n width: 343px;\n height: 265px;\n padding: 24px;\n border: 1px solid #BDBDBD;\n border-radius: 8px;\n font-family: 'work sans';\n word-wrap: break-word;\n}\n\n.cardResultConquista-module_container__39blw:hover {\n box-shadow: 0px 0px 20px -7px #BDBDBD;\n}\n\n.cardResultConquista-module_container__39blw:active {\n box-shadow: 0px 0px 20px -7px #BDBDBD;\n background-color: #FF4D0D;\n}\n\n.cardResultConquista-module_cardAvatar__mEUL0 {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n\n.cardResultConquista-module_description__rgSn5 {\n max-height: 100px !important;\n width: 300px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 4; /** número de linhas que você quer exibir */\n -webkit-box-orient: vertical;\n word-wrap: break-word;\n}\n\n.cardResultConquista-module_verMais__8mtfe {\n position:absolute;\n color: #0645AD;\n font-weight: 700;\n right: 0;\n bottom: 0;\n margin-right: 20px;\n margin-bottom: 12px;\n}";
5406
+ var style$5 = {"container":"cardResultConquista-module_container__39blw","cardAvatar":"cardResultConquista-module_cardAvatar__mEUL0","description":"cardResultConquista-module_description__rgSn5","verMais":"cardResultConquista-module_verMais__8mtfe"};
5407
+ styleInject(css_248z$6);
5384
5408
 
5385
5409
  var Conquista = "data:image/png;base64,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";
5386
5410
 
@@ -5403,10 +5427,10 @@ function CardResultConquista(props) {
5403
5427
  React.useEffect(() => {
5404
5428
  setBtnViewMore(props.textMoreDetails);
5405
5429
  }, [props.textMoreDetails]);
5406
- return (jsxRuntime.jsxs("div", { className: style$4.container, style: { ...props.style, cursor: 'pointer', backgroundColor: isPressed ? '#FF4D0D' : '#FFF' }, onClick: () => {
5430
+ return (jsxRuntime.jsxs("div", { className: style$5.container, style: { ...props.style, cursor: 'pointer', backgroundColor: isPressed ? '#FF4D0D' : '#FFF' }, onClick: () => {
5407
5431
  props.onClick(props.problemId);
5408
5432
  setIsPressed(true);
5409
- }, children: [jsxRuntime.jsxs("div", { className: style$4.cardAvatar, children: [jsxRuntime.jsx(Avatar, { size: '50px', src: props.userAvatar }), jsxRuntime.jsx("span", { children: "\u00A0\u00A0" }), props.statusCard === 1 ?
5433
+ }, children: [jsxRuntime.jsxs("div", { className: style$5.cardAvatar, children: [jsxRuntime.jsx(Avatar, { size: '50px', src: props.userAvatar }), jsxRuntime.jsx("span", { children: "\u00A0\u00A0" }), props.statusCard === 1 ?
5410
5434
  isPressed ?
5411
5435
  jsxRuntime.jsx("img", { src: ConquistaPressed, alt: "Icone de conquista" })
5412
5436
  :
@@ -5415,7 +5439,7 @@ function CardResultConquista(props) {
5415
5439
  isPressed ?
5416
5440
  jsxRuntime.jsx("img", { src: AprendizadoPressed, alt: "Icone de aprendizado" })
5417
5441
  :
5418
- jsxRuntime.jsx("img", { src: Aprendizado, alt: "Icone de aprendizado" })] }), jsxRuntime.jsx("span", { style: { color: isPressed ? '#FFF' : '#222', fontWeight: 600, fontSize: 16, marginTop: 12 }, children: props.userName }), jsxRuntime.jsx("span", { style: { color: isPressed ? '#FFF' : '#222', fontWeight: 400, fontSize: 12, marginTop: 4 }, children: props.userArea }), jsxRuntime.jsx("div", { className: style$4.description, style: { color: isPressed ? '#FFD600' : '#FF4D0D', fontWeight: 500, fontSize: 16, textAlign: 'center', marginTop: 12 }, children: props.description }), jsxRuntime.jsx("div", { className: style$4.verMais, children: btnViewMore ? btnViewMore : "Mais detalhes" })] }));
5442
+ jsxRuntime.jsx("img", { src: Aprendizado, alt: "Icone de aprendizado" })] }), jsxRuntime.jsx("span", { style: { color: isPressed ? '#FFF' : '#222', fontWeight: 600, fontSize: 16, marginTop: 12 }, children: props.userName }), jsxRuntime.jsx("span", { style: { color: isPressed ? '#FFF' : '#222', fontWeight: 400, fontSize: 12, marginTop: 4 }, children: props.userArea }), jsxRuntime.jsx("div", { className: style$5.description, style: { color: isPressed ? '#FFD600' : '#FF4D0D', fontWeight: 500, fontSize: 16, textAlign: 'center', marginTop: 12 }, children: props.description }), jsxRuntime.jsx("div", { className: style$5.verMais, children: btnViewMore ? btnViewMore : "Mais detalhes" })] }));
5419
5443
  }
5420
5444
 
5421
5445
  const WrapperCard$7 = styled__default["default"].div `
@@ -5463,6 +5487,173 @@ function ConquistaCarrossel({ onSelected, objectCards, marginsArrowButton, sizeA
5463
5487
  return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsx(ScrollContainer, { stepMove: 380, isVisibleControlsButtons: true, sizeArrowButton: sizeArrowButton, marginsArrowButton: marginsArrowButton, horizontalMarginInternScroll: horizontalMarginInternScroll, positionArrowButton: positionArrowButton ? positionArrowButton : '', marginTopArrrowButton: marginTopArrrowButton ? marginTopArrrowButton : '20px', children: objectCards.map(renderCard) }) }));
5464
5488
  }
5465
5489
 
5490
+ var css_248z$5 = "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');\n\n.Planet-module_container__YS3oo {\n width: 100px;\n height: 100px;\n display: flex;\n justify-content: 'center';\n align-items: 'center';\n position: relative;\n margin-left: 16px;\n\n text-align: center;\n font-size: 26px;\n font-family: 'VT323', monospace;\n color: white;\n -webkit-text-stroke: 0.5px black;\n text-shadow:2px 0 0 black,0 2px 0 black,-2px 0 0 black,0 -2px 0 black;\n}\n\n.Planet-module_label__bZgzb {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n padding: 2px;\n border: 2px dashed white;\n bottom: 0;\n left: 8px;\n right: 8px;\n width: calc(100% -16px);\n}\n@media (max-width: 600px) {\n .Planet-module_label__bZgzb {\n font-size: 22px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 540px) {\n .Planet-module_label__bZgzb {\n font-size: 18px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 470px) {\n .Planet-module_label__bZgzb {\n font-size: 16px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n@media (max-width: 400px) {\n .Planet-module_label__bZgzb {\n font-size: 14px;\n text-shadow: none;\n -webkit-text-stroke: 0%;\n color: black;\n }\n}\n\n.Planet-module_block__yUjqK {\n position: absolute;\n justify-content: center;\n align-items: center;\n display: flex;\n padding: 4px;\n \n bottom: 16px;\n left: 0;\n right: 0;\n top: 0;\n /* width: calc(100% -16px); */\n \n}\n\n.Planet-module_block__yUjqK img {\n width: 50%;\n height: 50%;\n object-fit: contain;\n margin-top: 0;\n}\n\n.Planet-module_imgAtive__dgis2 {\n filter: grayscale(0);\n opacity: 1;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;\n}\n\n.Planet-module_imgAtive__dgis2:hover {\n cursor: pointer\n}\n\n.Planet-module_imgInative__RXloV {\n filter: grayscale(1);\n opacity: 1;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;\n}\n\n.Planet-module_imgInative__RXloV:hover {\n cursor: pointer;\n}\n\n.Planet-module_imgBlocked__txZ4a {\n filter: grayscale(1);\n opacity: 0.5;\n height: 100% !important;\n width: 100% !important;\n object-fit: contain;\n margin-left: 2px;;\n}\n\n.Planet-module_imgBlockedL__xcI-B:hover {\n cursor: not-allowed;\n}\n\n.Planet-module_missaoTitle__RbGDH{\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n display: flex;\n align-items: center;\n \n color: #0645AD;\n}";
5491
+ var style$4 = {"container":"Planet-module_container__YS3oo","label":"Planet-module_label__bZgzb","block":"Planet-module_block__yUjqK","imgAtive":"Planet-module_imgAtive__dgis2","imgInative":"Planet-module_imgInative__RXloV","imgBlocked":"Planet-module_imgBlocked__txZ4a","imgBlockedL":"Planet-module_imgBlockedL__xcI-B","missaoTitle":"Planet-module_missaoTitle__RbGDH"};
5492
+ styleInject(css_248z$5);
5493
+
5494
+ ///-----------------------------------------
5495
+ /// Componente
5496
+ /**
5497
+ *
5498
+ * @componente Planet: Componente responsável por gerenciar os controles dos steps das missões
5499
+ */
5500
+ function Steps(props) {
5501
+ const TypeStep = [
5502
+ 'https://api-motor.s3.amazonaws.com/marte.png',
5503
+ 'https://api-motor.s3.amazonaws.com/jupter.png',
5504
+ 'https://api-motor.s3.amazonaws.com/saturno.png',
5505
+ 'https://api-motor.s3.amazonaws.com/urano.png',
5506
+ 'https://api-motor.s3.amazonaws.com/netuno.png',
5507
+ ];
5508
+ const TypeStepNamePTBR = [
5509
+ 'Marte',
5510
+ 'Júpiter',
5511
+ 'Saturno',
5512
+ 'Urano',
5513
+ 'Netuno',
5514
+ ];
5515
+ const TypeStepNamePT = [
5516
+ 'Marte',
5517
+ 'Júpiter',
5518
+ 'Saturno',
5519
+ 'Urano',
5520
+ 'Netuno',
5521
+ ];
5522
+ const TypeStepNameEN = [
5523
+ 'Mars',
5524
+ 'Jupiter',
5525
+ 'Saturn',
5526
+ 'Uranus',
5527
+ 'Neptune',
5528
+ ];
5529
+ const TypeStepNameES = [
5530
+ 'Marte',
5531
+ 'Júpiter',
5532
+ 'Saturno',
5533
+ 'Urano',
5534
+ 'Netuno',
5535
+ ];
5536
+ const mapTraducao = new Map();
5537
+ mapTraducao.set("pt-BR", TypeStepNamePTBR);
5538
+ mapTraducao.set("pt-PT", TypeStepNamePT);
5539
+ mapTraducao.set("en-US", TypeStepNameEN);
5540
+ mapTraducao.set("es", TypeStepNameES);
5541
+ const [Idioma, setIdioma] = React.useState(props.idioma ? props.idioma : 'pt-BR');
5542
+ React.useEffect(() => {
5543
+ setIdioma(props.idioma ? props.idioma : 'pt-BR');
5544
+ }, [props.idioma]);
5545
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { className: style$4.container, style: { ...props.style }, onClick: () => {
5546
+ if (props.status !== 'B') {
5547
+ props.onClick();
5548
+ }
5549
+ }, children: [jsxRuntime.jsx("img", { src: TypeStep[props.step - 1], className: props.status === "A" ?
5550
+ style$4.imgAtive
5551
+ : props.status === "I" ?
5552
+ style$4.imgInative
5553
+ : style$4.imgBlocked }), jsxRuntime.jsx("div", { className: style$4.label, children: mapTraducao.get(Idioma)[props.step - 1] }), props.status === 'B' &&
5554
+ jsxRuntime.jsx("div", { className: style$4.block, children: jsxRuntime.jsx("img", { src: 'https://api-motor.s3.amazonaws.com/lock.png' }) })] }) }));
5555
+ }
5556
+
5557
+ ///-----------------------------------------
5558
+ /// Componente
5559
+ /**
5560
+ *
5561
+ * @componente Planet: Componente responsável por gerenciar os controles dos steps das missões
5562
+ */
5563
+ function MissionSteps(props) {
5564
+ const traducaoPTBR = {
5565
+ next: "Ver missão seguinte >",
5566
+ nextShort: "Próx. >",
5567
+ previous: "< Ver missão anterior",
5568
+ previousShort: "< Ant.",
5569
+ continueChallenge: "Continuar desafio"
5570
+ };
5571
+ const traducaoES = {
5572
+ next: "Ver misión siguiente >",
5573
+ nextShort: "Próx. >",
5574
+ previous: "< Ver misión anterior",
5575
+ previousShort: "< Ant.",
5576
+ continueChallenge: "Continuar desafío"
5577
+ };
5578
+ const traducaoENUS = {
5579
+ next: "View next mission >",
5580
+ nextShort: "Next >",
5581
+ previous: "< View previous mission",
5582
+ previousShort: "< Previous",
5583
+ continueChallenge: "Continue challenge"
5584
+ };
5585
+ const traducaoPT = {
5586
+ next: "Ver missão seguinte >",
5587
+ nextShort: "Próx. >",
5588
+ previous: "< Ver missão anterior",
5589
+ previousShort: "< Ant.",
5590
+ continueChallenge: "Continuar desafio"
5591
+ };
5592
+ const mapTraducao = new Map();
5593
+ mapTraducao.set("pt-BR", traducaoPTBR);
5594
+ mapTraducao.set("es", traducaoES);
5595
+ mapTraducao.set("en-US", traducaoENUS);
5596
+ mapTraducao.set("pt-PT", traducaoPT);
5597
+ const [stepLiberado, setstepLiberado] = React.useState(props.stepProblem);
5598
+ const [stepActive, setStepActive] = React.useState(props.stepActive);
5599
+ const [Idioma, setIdioma] = React.useState(props.idioma ? props.idioma : 'pt-BR');
5600
+ const setStep = (step) => {
5601
+ setStepActive(step);
5602
+ props.onSelected(step);
5603
+ };
5604
+ React.useEffect(() => {
5605
+ setIdioma(props.idioma ? props.idioma : 'pt-BR');
5606
+ }, [props.idioma]);
5607
+ React.useEffect(() => {
5608
+ setstepLiberado(props.stepProblem);
5609
+ }, [props.stepProblem]);
5610
+ // Função para pegar o width da tela
5611
+ const [size, setSize] = React.useState([0, 0]);
5612
+ React.useLayoutEffect(() => {
5613
+ function updateSize() {
5614
+ setSize([window.innerWidth, window.innerHeight]);
5615
+ }
5616
+ window.addEventListener('resize', updateSize);
5617
+ updateSize();
5618
+ return () => window.removeEventListener('resize', updateSize);
5619
+ }, []);
5620
+ const BREAKWIDTH = 475;
5621
+ const leftButtonStyle = {
5622
+ position: 'absolute',
5623
+ top: 20,
5624
+ left: 0,
5625
+ cursor: 'pointer'
5626
+ };
5627
+ const rightButtonStyle = {
5628
+ ...leftButtonStyle,
5629
+ right: 0,
5630
+ left: 'auto'
5631
+ };
5632
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: 'center', width: '100%', position: 'relative', padding: 20, backgroundColor: 'white', marginTop: '10px' }, children: [stepActive > 1 ?
5633
+ size[0] >= BREAKWIDTH ?
5634
+ jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive - 1); }, className: style$4.missaoTitle, style: leftButtonStyle, children: `${mapTraducao.get(Idioma).previous}` })
5635
+ :
5636
+ jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive - 1); }, className: style$4.missaoTitle, style: leftButtonStyle, children: `${mapTraducao.get(Idioma).previousShort}` })
5637
+ : null, stepActive < stepLiberado ?
5638
+ size[0] >= BREAKWIDTH ?
5639
+ jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive + 1); }, className: style$4.missaoTitle, style: rightButtonStyle, children: `${mapTraducao.get(Idioma).next}` })
5640
+ :
5641
+ jsxRuntime.jsx("span", { onClick: () => { setStep(stepActive + 1); }, className: style$4.missaoTitle, style: rightButtonStyle, children: `${mapTraducao.get(Idioma).nextShort}` })
5642
+ : props.stepProblem < 5 &&
5643
+ props.onClickContinue &&
5644
+ jsxRuntime.jsx("span", { className: style$4.missaoTitle, style: { ...rightButtonStyle, marginTop: '-10px' }, children: jsxRuntime.jsx(Button$5, { handleClick: () => props.onClickContinue(), label: mapTraducao.get(Idioma).continueChallenge, variant: "primary", endIcon: jsxRuntime.jsx(FowardArrow, { fill: "#fff" }), style: { height: '40px' } }) }), jsxRuntime.jsxs("div", { style: { display: "inline-flex", marginTop: 40, justifyContent: 'center', width: '100%' }, children: [jsxRuntime.jsx(Steps, { step: 1, idioma: Idioma, status: stepLiberado >= 1 ? stepActive === 1 ? "A" : "I" : "B", onClick: () => {
5645
+ setStep(1);
5646
+ } }), jsxRuntime.jsx(Steps, { step: 2, idioma: Idioma, status: stepLiberado >= 2 ? stepActive === 2 ? "A" : "I" : "B", onClick: () => {
5647
+ setStep(2);
5648
+ } }), jsxRuntime.jsx(Steps, { step: 3, idioma: Idioma, status: stepLiberado >= 3 ? stepActive === 3 ? "A" : "I" : "B", onClick: () => {
5649
+ setStep(3);
5650
+ } }), jsxRuntime.jsx(Steps, { step: 4, idioma: Idioma, status: stepLiberado >= 4 ? stepActive === 4 ? "A" : "I" : "B", onClick: () => {
5651
+ setStep(4);
5652
+ } }), jsxRuntime.jsx(Steps, { step: 5, idioma: Idioma, status: stepLiberado >= 5 ? stepActive === 5 ? "A" : "I" : "B", onClick: () => {
5653
+ setStep(5);
5654
+ } })] })] }) }));
5655
+ }
5656
+
5466
5657
  styled__default["default"].div `
5467
5658
  width: 100%;
5468
5659
  width: 1280px;
@@ -5486,7 +5677,7 @@ const Progress$1 = styled__default["default"].ul `
5486
5677
  list-style: none;
5487
5678
  align-items: flex-start;
5488
5679
  `;
5489
- const ProgressItem$1 = styled__default["default"].li `
5680
+ const ProgressItem = styled__default["default"].li `
5490
5681
  width: 100%;
5491
5682
  min-height: 78px;
5492
5683
  height: auto;
@@ -5602,7 +5793,7 @@ function Stepper({ children, }) {
5602
5793
  }
5603
5794
 
5604
5795
  function StepperItem({ title, subtitle, buttonText, active = false, onClick }) {
5605
- return (jsxRuntime.jsx(ProgressItem$1, { active: active, children: active
5796
+ return (jsxRuntime.jsx(ProgressItem, { active: active, children: active
5606
5797
  ?
5607
5798
  jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ProgressItemTitle, { active: active, children: title }), jsxRuntime.jsx(ProgressItemSubtitle, { active: active, children: subtitle }), jsxRuntime.jsx(Button$5, { handleClick: onClick, label: buttonText || 'Agendar reunião', variant: "primary" })] })
5608
5799
  :
@@ -7659,7 +7850,7 @@ const BorderLinearProgress = styled__default["default"](LinearProgress__default[
7659
7850
  }
7660
7851
  `;
7661
7852
 
7662
- function ProgressBar$2({ value, label, style }) {
7853
+ function ProgressBar$1({ value, label, style }) {
7663
7854
  return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(ProgressContainer, { style: style, children: [jsxRuntime.jsx("span", { children: label }), jsxRuntime.jsxs(ValueAndProgress, { children: [jsxRuntime.jsx(BorderLinearProgress, { variant: "determinate", value: value }), " \u00A0", value + '%'] })] }) }));
7664
7855
  }
7665
7856
 
@@ -7883,7 +8074,7 @@ function HeaderContent(props) {
7883
8074
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Title$1, { children: item.title }), jsxRuntime.jsx(Description$1, { zeroHeigthDescription: zeroHeigthDescription, children: item.description }), jsxRuntime.jsxs(SpaceButtonTopViewMore, { zeroHeigthDescription: zeroHeigthDescription, onClick: addHeigthDescription, children: [jsxRuntime.jsx(Button$5, { label: textView, variant: "link", style: { color: '#649AF3', fontWeight: '900' } }), jsxRuntime.jsx(ArrowScrollRight, { fill: "#649AF3", width: "13px", height: "13px", strokeWidth: '4' })] }), jsxRuntime.jsx(SpaceButtonTop, { onClick: item.onClick, children: jsxRuntime.jsx(Button$5, { label: item.labelButton, variant: "primary" }) })] }));
7884
8075
  }
7885
8076
  function InProgressHeader(item) {
7886
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Title$1, { children: item.title }), jsxRuntime.jsx(Description$1, { zeroHeigthDescription: zeroHeigthDescription, children: item.description }), jsxRuntime.jsxs(SpaceButtonTopViewMore, { zeroHeigthDescription: zeroHeigthDescription, onClick: addHeigthDescription, children: [jsxRuntime.jsx(Button$5, { label: textView, variant: "link", style: { color: '#649AF3', fontWeight: '900' } }), jsxRuntime.jsx(ArrowScrollRight, { fill: "#649AF3", width: "13px", height: "13px", strokeWidth: '4' })] }), jsxRuntime.jsxs(SpaceProgressAndButton, { children: [jsxRuntime.jsx(ProgressBar$2, { value: item.progresso, label: item.channel, style: { width: 200 } }), jsxRuntime.jsx(Button$5, { label: item.labelButton, variant: "primary", handleClick: item.onClick })] })] }));
8077
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Title$1, { children: item.title }), jsxRuntime.jsx(Description$1, { zeroHeigthDescription: zeroHeigthDescription, children: item.description }), jsxRuntime.jsxs(SpaceButtonTopViewMore, { zeroHeigthDescription: zeroHeigthDescription, onClick: addHeigthDescription, children: [jsxRuntime.jsx(Button$5, { label: textView, variant: "link", style: { color: '#649AF3', fontWeight: '900' } }), jsxRuntime.jsx(ArrowScrollRight, { fill: "#649AF3", width: "13px", height: "13px", strokeWidth: '4' })] }), jsxRuntime.jsxs(SpaceProgressAndButton, { children: [jsxRuntime.jsx(ProgressBar$1, { value: item.progresso, label: item.channel, style: { width: 200 } }), jsxRuntime.jsx(Button$5, { label: item.labelButton, variant: "primary", handleClick: item.onClick })] })] }));
7887
8078
  }
7888
8079
  return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(Container$9, { style: { ...props.style }, children: [props.listaRecomendacao.map((item, index) => {
7889
8080
  return (jsxRuntime.jsx(HeaderImage$1, { img: item.bgImg, tmnDescription: item.description.length, onDisplay: index === selectedContent, style: { ...props.style }, children: jsxRuntime.jsx(jsxRuntime.Fragment, { children: item.typeOfHeader === 'inProgress' ? (jsxRuntime.jsx(Content, { height: props?.height, onDisplay: index === selectedContent, children: InProgressHeader(item) })) : (jsxRuntime.jsx(Content, { height: props?.height, onDisplay: index === selectedContent, children: RecomendationHeader(item) })) }) }, index));
@@ -11674,7 +11865,7 @@ const ProgressBox = styled__default["default"](_.Box) `
11674
11865
  margin-top: 160px !important;
11675
11866
  position: relative !important;
11676
11867
  `;
11677
- const ProgressBar$1 = styled__default["default"](_.LinearProgress) `
11868
+ const ProgressBar = styled__default["default"](_.LinearProgress) `
11678
11869
  width: 128px !important;
11679
11870
  height: 13px !important;
11680
11871
  border-radius: 100px !important;
@@ -11816,7 +12007,7 @@ function MentorComponent(props) {
11816
12007
  }
11817
12008
  function PercentageProgress({ progress }) {
11818
12009
  return jsxRuntime.jsx(jsxRuntime.Fragment, { children: progress && (jsxRuntime.jsx(ProgressBox, { children: jsxRuntime.jsx(_.Grid, { container: true, spacing: 0, alignItems: "center", children: progress > 0 &&
11819
- jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(_.Grid, { item: true, xs: 10, children: jsxRuntime.jsx(ProgressBar$1, { variant: "determinate", value: progress }) }), jsxRuntime.jsx(_.Grid, { item: true, xs: 2, children: jsxRuntime.jsxs(ProgressLabel, { children: [progress, "%"] }) })] }) }) })) });
12010
+ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(_.Grid, { item: true, xs: 10, children: jsxRuntime.jsx(ProgressBar, { variant: "determinate", value: progress }) }), jsxRuntime.jsx(_.Grid, { item: true, xs: 2, children: jsxRuntime.jsxs(ProgressLabel, { children: [progress, "%"] }) })] }) }) })) });
11820
12011
  }
11821
12012
 
11822
12013
  function CardTrailCarousel({ objectCards, marginsArrowButton, move, isVisibleButtons, sizeArrowButton, horizontalMarginInternScroll, positionArrowButton, marginTopArrrowButton, label }) {
@@ -12875,100 +13066,6 @@ const topHeaderTag = styled__default["default"].span `
12875
13066
 
12876
13067
  `;
12877
13068
 
12878
- const ProgressBar = styled__default["default"](material.Box) `
12879
- display: flex;
12880
- justify-content: space-between;
12881
- max-width: calc(100% - 66px);
12882
- margin: auto;
12883
- margin-bottom: -28px;
12884
-
12885
- @media (max-width: 400px) {
12886
- max-width: calc(100% - 50px);
12887
- margin-bottom: -28px;
12888
- }
12889
- `;
12890
- const ProgressItem = styled__default["default"](material.Box) `
12891
- height: 8px;
12892
- background: ${({ active }) => active ? '#FEA852' : '#D9D9D9'};
12893
- width: 100%;
12894
- @media (max-width: 400px) {
12895
- height: 5px;
12896
- }
12897
- `;
12898
- const ContainerSteps = styled__default["default"](material.Box) `
12899
- display: flex;
12900
- justify-content: space-between;
12901
- max-width: 100%;
12902
- margin: auto;
12903
- position: relative;
12904
- z-index: 1;
12905
- `;
12906
- const CicleStep = styled__default["default"](material.Box) `
12907
- width: 50px;
12908
- height: 50px;
12909
- border-radius: 50%;
12910
- background: #FFE0C2;
12911
- color: #FFF;
12912
- opacity: ${({ variant }) => variant == 'selected' ? '0.5' : '0'};
12913
- cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
12914
- @media (max-width: 400px) {
12915
- opacity: 0;
12916
- width: 25px;
12917
- height: 25px;
12918
- }
12919
- `;
12920
- const CicleStepChar = styled__default["default"](material.Box) `
12921
- display: flex;
12922
- justify-content: center;
12923
- align-items: center;
12924
- width: 30px;
12925
- height: 30px;
12926
- border-radius: 50%;
12927
- color: #FFF;
12928
- margin-left: 10px;
12929
- margin-top: -40px;
12930
- background: ${({ variant }) => variant == 'disabled' ? ('#BDBDBD') : (variant == 'selected' ? '#F26818' : '#FEA852')};
12931
- position: ${({ variant }) => variant != 'disabled' && 'relative'};
12932
- cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
12933
-
12934
- @media (max-width: 400px) {
12935
- width: 15px;
12936
- height: 15px;
12937
- margin-top: -8px;
12938
- }
12939
- `;
12940
- const CicleStepName = styled__default["default"](material.Box) `
12941
- margin-left: -10px;
12942
- margin-top: 20px;
12943
- width: 70px;
12944
- text-align: center;
12945
- color: ${({ variant }) => variant == 'disabled' ? ('#757575') : (variant == 'selected' ? '#F26818' : '#222')};
12946
- font-weight: ${({ variant }) => variant == 'selected' ? '600' : '400'};
12947
- cursor: ${({ variant }) => variant == 'disabled' ? 'not-allowed' : 'pointer'};
12948
-
12949
- @media (max-width: 400px) {
12950
- font-size: 10px;
12951
- }
12952
- `;
12953
-
12954
- // import { IAvatar } from './stepsProgress'
12955
- function StepsProgress({ definedSteps, stepSelected, width = 600 }) {
12956
- const stepColor = definedSteps.filter(s => s.step !== 1);
12957
- return (jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [jsxRuntime.jsx(ProgressBar, { children: stepColor && Array.isArray(stepColor) ?
12958
- stepColor.map((item, index) => jsxRuntime.jsx(ProgressItem, { active: item?.active }, index))
12959
- : null }), jsxRuntime.jsx(ContainerSteps, { children: definedSteps && Array.isArray(definedSteps) ?
12960
- definedSteps.map((item, index) => {
12961
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [(item?.step == stepSelected) &&
12962
- jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'selected' }), (!(item?.step == stepSelected) && item?.active) &&
12963
- jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'normal' }), (!item?.active) &&
12964
- jsxRuntime.jsx(StepItem, { index: index, name: item?.name, action: item?.action, step: item?.step, variant: 'disabled' })] }));
12965
- })
12966
- : null })] }));
12967
- }
12968
- function StepItem({ index, name, action, step, variant }) {
12969
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(material.Box, { children: [jsxRuntime.jsx(CicleStep, { variant: variant }), jsxRuntime.jsx(CicleStepChar, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: step }), jsxRuntime.jsx(CicleStepName, { variant: variant, onClick: () => variant != 'disabled' ? action() : () => { }, children: name })] }, index) }));
12970
- }
12971
-
12972
13069
  const Container$2 = styled__default["default"].div `
12973
13070
  padding: 1px 24px 0px 24px;
12974
13071
  display: flex;
@@ -14178,7 +14275,7 @@ function ThumbListContent(props) {
14178
14275
  if (props.isSelected)
14179
14276
  setIsSelected(props?.isSelected);
14180
14277
  }, [props.isSelected]);
14181
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: props.isLoading ? (jsxRuntime.jsxs(containerThumbContent, { style: { ...props.style }, children: [jsxRuntime.jsx(loadingImageThumb, {}), jsxRuntime.jsxs(loadingThumbContent, { children: [props.title && jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" })] })] })) : (jsxRuntime.jsxs(containerThumbContent, { style: { ...props.style }, onClick: props.onClickThumb, children: [props.imageSrc ? (tagVisualized > 0 ? (jsxRuntime.jsx(shadedThumb, { children: jsxRuntime.jsx(imageThumbContent, { style: { backgroundImage: `url(${props.imageSrc})` }, onClick: props.onClickThumb, children: jsxRuntime.jsx(ProgressAndImg, { children: jsxRuntime.jsx(ProgressBar$2, { label: "", value: props.valueProgress }) }) }) })) : (jsxRuntime.jsx(imageThumbContent, { style: { backgroundImage: `url(${props.imageSrc})` }, onClick: props.onClickThumb }))) : tagVisualized > 0 ? (jsxRuntime.jsx(shadedThumb, { onClick: props.onClickThumb, children: jsxRuntime.jsxs(iconsThumbAndProgress, { children: [props.typeThumbContent === 'video' ? jsxRuntime.jsx(ThumbVideo, { width: "74", height: "74" }) : null, props.typeThumbContent === 'podcast' ? (jsxRuntime.jsx(IconAndProgress, { children: jsxRuntime.jsx(ThumbPodcast, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'question' ? jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) : null, props.typeThumbContent === 'textual' ? jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) : null, jsxRuntime.jsx(ProgressIcon, { children: jsxRuntime.jsx(ProgressBar$2, { label: "", value: props.valueProgress }) })] }) })) : (jsxRuntime.jsxs(iconsThumb, { onClick: props.onClickThumb, children: [props.typeThumbContent === 'video' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbVideo, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'podcast' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbPodcast, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'question' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'textual' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) })) : null] })), jsxRuntime.jsxs(infoThumbContent, { onClick: props.onClickThumb, tagVisualized: props.tagValue, isSelected: props?.isSelected, children: [props.tagValue !== 'notVisualized' ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [props.tagValue === 'vizualized' ? (jsxRuntime.jsx(tagThumbContentContainer, { children: jsxRuntime.jsx(tagThumbContent, { tagVisualized: props.tagValue, isSelected: props?.isSelected, children: props.textProgressVisualized }) })) : null, props.tagValue === 'inProgress' ? (jsxRuntime.jsx(tagThumbContentContainer, { children: jsxRuntime.jsx(tagThumbContent, { tagVisualized: props.tagValue, isSelected: props?.isSelected, children: props.textProgressInProgress }) })) : null] })) : null, props.title ? jsxRuntime.jsx("span", { children: props.title }) : null, jsxRuntime.jsx(descriptionThumbContent, { showText: showMore, isSelected: props?.isSelected, children: props.description })] }), jsxRuntime.jsx(viewMoreContent$1, { children: jsxRuntime.jsx(Button$5, { variant: "link", label: showMore ? props.textViewLessButton : props.textViewMoreButton, handleClick: () => setShowMore(!showMore), style: { fontSize: 12, color: props?.isSelected ? '#E5E7EB' : '#444444' } }) })] })) }));
14278
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: props.isLoading ? (jsxRuntime.jsxs(containerThumbContent, { style: { ...props.style }, children: [jsxRuntime.jsx(loadingImageThumb, {}), jsxRuntime.jsxs(loadingThumbContent, { children: [props.title && jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" }), jsxRuntime.jsx(loadingContent, { children: "a" })] })] })) : (jsxRuntime.jsxs(containerThumbContent, { style: { ...props.style }, onClick: props.onClickThumb, children: [props.imageSrc ? (tagVisualized > 0 ? (jsxRuntime.jsx(shadedThumb, { children: jsxRuntime.jsx(imageThumbContent, { style: { backgroundImage: `url(${props.imageSrc})` }, onClick: props.onClickThumb, children: jsxRuntime.jsx(ProgressAndImg, { children: jsxRuntime.jsx(ProgressBar$1, { label: "", value: props.valueProgress }) }) }) })) : (jsxRuntime.jsx(imageThumbContent, { style: { backgroundImage: `url(${props.imageSrc})` }, onClick: props.onClickThumb }))) : tagVisualized > 0 ? (jsxRuntime.jsx(shadedThumb, { onClick: props.onClickThumb, children: jsxRuntime.jsxs(iconsThumbAndProgress, { children: [props.typeThumbContent === 'video' ? jsxRuntime.jsx(ThumbVideo, { width: "74", height: "74" }) : null, props.typeThumbContent === 'podcast' ? (jsxRuntime.jsx(IconAndProgress, { children: jsxRuntime.jsx(ThumbPodcast, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'question' ? jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) : null, props.typeThumbContent === 'textual' ? jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) : null, jsxRuntime.jsx(ProgressIcon, { children: jsxRuntime.jsx(ProgressBar$1, { label: "", value: props.valueProgress }) })] }) })) : (jsxRuntime.jsxs(iconsThumb, { onClick: props.onClickThumb, children: [props.typeThumbContent === 'video' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbVideo, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'podcast' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbPodcast, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'question' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'textual' ? (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(ThumbTexto, { width: "74", height: "74" }) })) : null] })), jsxRuntime.jsxs(infoThumbContent, { onClick: props.onClickThumb, tagVisualized: props.tagValue, isSelected: props?.isSelected, children: [props.tagValue !== 'notVisualized' ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [props.tagValue === 'vizualized' ? (jsxRuntime.jsx(tagThumbContentContainer, { children: jsxRuntime.jsx(tagThumbContent, { tagVisualized: props.tagValue, isSelected: props?.isSelected, children: props.textProgressVisualized }) })) : null, props.tagValue === 'inProgress' ? (jsxRuntime.jsx(tagThumbContentContainer, { children: jsxRuntime.jsx(tagThumbContent, { tagVisualized: props.tagValue, isSelected: props?.isSelected, children: props.textProgressInProgress }) })) : null] })) : null, props.title ? jsxRuntime.jsx("span", { children: props.title }) : null, jsxRuntime.jsx(descriptionThumbContent, { showText: showMore, isSelected: props?.isSelected, children: props.description })] }), jsxRuntime.jsx(viewMoreContent$1, { children: jsxRuntime.jsx(Button$5, { variant: "link", label: showMore ? props.textViewLessButton : props.textViewMoreButton, handleClick: () => setShowMore(!showMore), style: { fontSize: 12, color: props?.isSelected ? '#E5E7EB' : '#444444' } }) })] })) }));
14182
14279
  }
14183
14280
 
14184
14281
  const containerList = styled__default["default"].div `
@@ -17035,7 +17132,7 @@ exports.PodCastIcon = PodCastIcon;
17035
17132
  exports.PopOver = PopOver;
17036
17133
  exports.PopOverLXP = PopOverLXP;
17037
17134
  exports.PostFeed = PostFeed;
17038
- exports.ProgressBar = ProgressBar$2;
17135
+ exports.ProgressBar = ProgressBar$1;
17039
17136
  exports.QuantidadeDesafios = QuantidadeDesafios;
17040
17137
  exports.Rating = Rating;
17041
17138
  exports.ScrollContainer = ScrollContainer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/cardLT/BannerProblem/index.tsx"],"names":[],"mappings":";AAwBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAK1D,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,wBAAwB,eAmZpE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/cardLT/BannerProblem/index.tsx"],"names":[],"mappings":";AAyBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAK1D,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,wBAAwB,eAobpE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.20.29",
4
+ "version": "0.20.31",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",