{"version":3,"file":"PostHogLogo.jsx","sourceRoot":"","sources":["../../../../../src/extensions/surveys/components/PostHogLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,MAAM,UAAU,WAAW,CAAC,EAAgD;QAA9C,eAAe,qBAAA;IACzC,IAAM,SAAS,GAAG,uBAAuB,CAAC,eAAe,CAAC,CAAA;IAE1D,OAAO,CACH,CAAC,CAAC,CACE,IAAI,CAAC,qBAAqB,CAC1B,MAAM,CAAC,QAAQ,CACf,GAAG,CAAC,UAAU,CACd,KAAK,CAAC,CAAC,EAAE,eAAe,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAC9D,SAAS,CAAC,iBAAiB,CAE3B;sBAAU,CAAC,eAAe,CAC9B;QAAA,EAAE,CAAC,CAAC,CACP,CAAA;AACL,CAAC","sourcesContent":["import { IconPosthogLogo } from '../icons'\nimport { getContrastingTextColor } from '../surveys-utils'\n\nexport function PostHogLogo({ backgroundColor }: { backgroundColor: string }) {\n    const textColor = getContrastingTextColor(backgroundColor)\n\n    return (\n        <a\n            href=\"https://posthog.com\"\n            target=\"_blank\"\n            rel=\"noopener\"\n            style={{ backgroundColor: backgroundColor, color: textColor }}\n            className=\"footer-branding\"\n        >\n            Survey by {IconPosthogLogo}\n        </a>\n    )\n}\n"]}