{"version":3,"file":"index.e1fff01c.js","sources":["../src/Components/MuiComponentsOverriden/PublicButtons/index.tsx"],"sourcesContent":["import { Button } from '@mui/material';\r\nimport { styled } from '@mui/material/styles';\r\nimport {\r\n    COLOR_ORANGE_PRIMARY,\r\n    COLOR_WHITE,\r\n    COLOR_SECONDARY,\r\n    COLOR_OPTION_BUTTON_BG,\r\n    COLOR_DARK,\r\n    COLOR_BUTTON_HOVER_TEXT_1\r\n} from '../../../constants/color.ts';\r\nimport ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos';\r\n\r\ninterface PublicButton1Props {\r\n    buttonText?: string | null;\r\n    styleProps?: React.CSSProperties; \r\n    icon?: JSX.Element;\r\n    onClick?: () => void;\r\n    backgroundColor?: string;\r\n    textColor?: string;\r\n    hoverTextColor?: string;\r\n    hoverBackgroundColor?: string;\r\n    href?: string;\r\n}\r\nconst StyledPublicButton1 = styled(Button)(({ theme }) => ({\r\n    display: 'flex ',\r\n    justifyContent: 'center',\r\n    alignItems: 'center',\r\n    borderRadius: '36px',\r\n    border:  `2px solid ${COLOR_ORANGE_PRIMARY}`,\r\n    background: COLOR_ORANGE_PRIMARY,\r\n    color: COLOR_WHITE,\r\n    textTransform: 'none',\r\n    fontSize: '1rem',\r\n    fontStyle: 'normal',\r\n    fontFamily: 'Poppins',\r\n    fontWeight: 500,\r\n    padding: '6px 24px',\r\n    letterSpacing: '0.1rem',\r\n    lineHeight: '140%',\r\n    gap: '16px',\r\n    boxShadow: 'none',\r\n    '&:hover': {\r\n        backgroundColor: COLOR_ORANGE_PRIMARY,\r\n        color: COLOR_WHITE,\r\n    },\r\n    [theme.breakpoints.down('md')]: {\r\n        fontSize: '14px',\r\n    },\r\n}));\r\n\r\nexport const PublicButton1: React.FC<PublicButton1Props> = ({ buttonText, styleProps, icon,hoverTextColor, hoverBackgroundColor, textColor,backgroundColor,href,  ...props }) => {\r\n    return (\r\n        <StyledPublicButton1\r\n            {...props}\r\n            variant=\"contained\"\r\n            href={href}\r\n            sx={{...styleProps}}\r\n        >\r\n            {buttonText}\r\n            {icon}\r\n        </StyledPublicButton1>\r\n    );\r\n};\r\n"],"names":["StyledPublicButton1","styled","Button","theme","COLOR_ORANGE_PRIMARY","COLOR_WHITE","PublicButton1","buttonText","styleProps","icon","hoverTextColor","hoverBackgroundColor","textColor","backgroundColor","href","props","jsxs"],"mappings":"oEAuBA,MAAMA,EAAsBC,EAAOC,CAAM,EAAE,CAAC,CAAE,MAAAC,MAAa,CACvD,QAAS,QACT,eAAgB,SAChB,WAAY,SACZ,aAAc,OACd,OAAS,aAAaC,CAAoB,GAC1C,WAAYA,EACZ,MAAOC,EACP,cAAe,OACf,SAAU,OACV,UAAW,SACX,WAAY,UACZ,WAAY,IACZ,QAAS,WACT,cAAe,SACf,WAAY,OACZ,IAAK,OACL,UAAW,OACX,UAAW,CACP,gBAAiBD,EACjB,MAAOC,CACX,EACA,CAACF,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC5B,SAAU,MACd,CACJ,EAAE,EAEWG,EAA8C,CAAC,CAAE,WAAAC,EAAY,WAAAC,EAAY,KAAAC,EAAK,eAAAC,EAAgB,qBAAAC,EAAsB,UAAAC,EAAU,gBAAAC,EAAgB,KAAAC,EAAO,GAAGC,KAE7JC,EAAA,KAAChB,EAAA,CACI,GAAGe,EACJ,QAAQ,YACR,KAAAD,EACA,GAAI,CAAC,GAAGN,CAAU,EAEjB,SAAA,CAAAD,EACAE,CAAA,CAAA,CAAA"}