{"version":3,"sources":["jsdelivr-header.js","/npm/@tsamantanis/react-glassmorphism@1.1.2/src/Card/styles.ts","/npm/@tsamantanis/react-glassmorphism@1.1.2/src/Card/index.tsx","/npm/@tsamantanis/react-glassmorphism@1.1.2/src/CustomCard/styles.ts","/npm/@tsamantanis/react-glassmorphism@1.1.2/src/CustomCard/index.tsx","/npm/@tsamantanis/react-glassmorphism@1.1.2/src/Button/styles.ts","/npm/@tsamantanis/react-glassmorphism@1.1.2/src/Button/index.tsx"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,uSCCA,I,kBAAM,WAAa,OAAO,IAAV,kCAAA,4BAAA,sSAKgB,SAAC,GAAD,OAA+B,EAAM,KAArC,QACQ,SAAC,GAAD,OAA+B,EAAM,KAArC,QAEtB,SAAC,GAAD,OAA6C,IAAjB,EAAM,OAAN,gDAA5B,ICNZ,KAA4B,SAAC,GAE/B,OADA,QAAQ,IAAI,GAER,oBAAC,WAAD,OAAA,OAAA,GACQ,GACL,EAAM,UAAY,EAAM,SAGlC,ECRD,SAAS,UAAU,EAAiB,GAChC,IAAI,EAAW,EAAQ,QAAQ,IAAK,IAUpC,OARmB,IAAf,EAAI,SACJ,EAAG,GAAM,EAAI,GAAK,EAAI,GAAK,EAAI,GAAK,EAAI,GAAK,EAAI,GAAK,EAAI,IAO9D,QAJU,SAAS,EAAI,UAAU,EAAG,GAAI,IAIxC,IAHU,SAAS,EAAI,UAAU,EAAG,GAAI,IAGxC,IAFU,SAAS,EAAI,UAAU,EAAG,GAAI,IAExC,IAA8B,EAA9B,GACH,CAED,I,kBAAM,iBAAmB,OAAO,IAAV,sCAAA,4BAAA,+2BAKU,SAAC,GAAD,OAAqC,EAAM,KAA3C,QACQ,SAAC,GAAD,OAAqC,EAAM,KAA3C,QACf,SAAC,GAAD,OAAqC,EAAM,aAAe,EAAM,aAAe,IAA/E,QACR,SAAC,GAAD,UAAqC,EAAM,MAAQ,EAAM,MAAQ,QAAjE,IAEe,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACK,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACA,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACJ,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACA,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACA,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IAED,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACK,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACA,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACJ,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACA,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IACA,SAAC,GAAD,OAAkC,UAAU,EAAM,YAAa,GAA/D,IClC3B,WAAwC,SAAC,GAE3C,OADA,QAAQ,IAAI,GAER,oBAAC,iBAAD,OAAA,OAAA,GACQ,GACL,EAAM,UAAY,EAAM,SAGlC,ECZK,OAAS,OAAO,OAAV,sCAAA,4BAAA,6eAIoB,SAAC,GAAD,OAA2B,EAAM,KAAjC,QACQ,SAAC,GAAD,OAA2B,EAAM,KAAjC,QAEtB,SAAC,GAAD,OAAyC,IAAjB,EAAM,OAAN,gDAAxB,ICNlB,MAAA,SAAgB,G,IACL,EAAiB,EAAjB,KAAM,EAAW,EAAX,QACb,OAAO,6BAAC,OAAD,CACK,QAAS,kBAAM,GAAW,GAAjB,GAER,EALjB,E","file":"/npm/@tsamantanis/react-glassmorphism@1.1.2/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@tsamantanis/react-glassmorphism@1.1.2/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import styled from 'styled-components';\n\ninterface StyledCardProps {\n    border?: boolean,\n    blur?: number,\n}\n\nconst StyledCard = styled.div<StyledCardProps>`\n        height: auto;\n        min-width: 100px;\n        padding: 2rem;\n        background: rgba( 255, 255, 255, 0.25 );\n        backdrop-filter: blur(${(props: StyledCardProps) => `${props.blur}px`});\n        -webkit-backdrop-filter: blur(${(props: StyledCardProps) => `${props.blur}px`});\n        border-radius: 10px;\n        border: ${(props: StyledCardProps) => props.border === false ? `none;` : `1px solid rgba( 255, 255, 255, 0.18 );`}\n        color: white;\n    `\nexport default StyledCard;\n","import * as React from 'react'\nimport StyledCard from './styles';\n\ninterface CardProps {\n  border?: boolean,\n  blur?: number,\n  content?: HTMLElement\n}\n\nconst Card: React.FC<CardProps> = (props) => {\n    console.log(props)\n    return (\n        <StyledCard\n            {...props}\n        >{ props.children && props.children }\n        </StyledCard>\n    )\n};\n\nexport default Card;\n","import styled from 'styled-components';\n\ninterface StyledCustomCardProps {\n    borderRadius?: number,\n    blur?: number,\n    color?: string,\n    effectColor: string,\n}\n\nfunction hexToRgbA(hexCode: string, opacity: number): string {\n    let hex: any = hexCode.replace('#', '');\n\n    if (hex.length === 3) {\n        hex = `${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`;\n    }\n\n    const r = parseInt(hex.substring(0, 2), 16);\n    const g = parseInt(hex.substring(2, 4), 16);\n    const b = parseInt(hex.substring(4, 6), 16);\n\n    return `rgba(${r},${g},${b},${opacity})`;\n}\n\nconst StyledCustomCard = styled.div<StyledCustomCardProps>`\n        height: auto;\n        min-width: 100px;\n        padding: 2rem;\n        background: rgba(255, 255, 255, 0.1);\n        backdrop-filter: blur(${(props: StyledCustomCardProps) => `${props.blur}px`});\n        -webkit-backdrop-filter: blur(${(props: StyledCustomCardProps) => `${props.blur}px`});\n        border-radius: ${(props: StyledCustomCardProps) => `${props.borderRadius ? props.borderRadius : 10}px`};\n        color: ${(props: StyledCustomCardProps) => `${props.color ? props.color : 'white'}`};\n        box-shadow: inset 0px 39px 56px -36px rgba(255, 255, 255, 0.5),\n        inset 0px 1px 4px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px -82px 68px -64px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px 98px 100px -48px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px 4px 18px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px 1px 40px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.2)},\n        inset 0px 1px 40px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.2)};\n        -webkit-box-shadow: inset 0px 39px 56px -36px rgba(255, 255, 255, 0.5),\n        inset 0px 1px 4px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px -82px 68px -64px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px 98px 100px -48px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px 4px 18px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.3)},\n        inset 0px 1px 40px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.2)},\n        inset 0px 1px 40px 0px ${(props: StyledCustomCardProps) => hexToRgbA(props.effectColor, 0.2)};\n    `\nexport default StyledCustomCard;\n","import * as React from 'react'\nimport StyledCustomCard from './styles';\n\ninterface CustomCardProps {\n    borderRadius?: number,\n    blur?: number,\n    color?: string,\n    effectColor: string,\n    content?: HTMLElement\n}\n\nconst CustomCard: React.FC<CustomCardProps> = (props) => {\n    console.log(props)\n    return (\n        <StyledCustomCard\n            {...props}\n        >{ props.children && props.children }\n        </StyledCustomCard>\n    )\n};\n\nexport default CustomCard;\n","import styled from 'styled-components';\n\ninterface ButtonProps {\n    border?: boolean,\n    blur?: number,\n}\n\nconst Button = styled.button<ButtonProps>`\n        padding: 0.75rem 1.25rem 0.75rem 1.25rem;\n        margin: 0 auto;\n        background: rgba( 255, 255, 255, 0.25 );\n        backdrop-filter: blur(${(props: ButtonProps) => `${props.blur}px`});\n        -webkit-backdrop-filter: blur(${(props: ButtonProps) => `${props.blur}px`});\n        border-radius: 5px;\n        border: ${(props: ButtonProps) => props.border === false ? `none;` : `1px solid rgba( 255, 255, 255, 0.18 );`}\n        font-weight: 800;\n        font-size: 1rem;\n        color: white;\n        transition: 0.3s ease;\n        &:hover {\n            background: rgba( 255, 255, 255, 0.35);\n            cursor: pointer;\n        }\n    `\nexport default Button;\n","import React from \"react\"\nimport Button from './styles';\n\nexport interface ButtonProps {\n    text?: string,\n    onClick?: () => void\n}\n\nexport default (props: ButtonProps) => {\n    const {text, onClick} = props;\n    return <Button\n                onClick={() => onClick && onClick()}\n            >\n                {text}\n            </Button>\n    }\n"]}