{"version":3,"file":"CourseButtonHover.AeXi2H5j.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/s0SawROJfCl5Nqxc4uxS/hDdb4PKSZ9IpQnAgFRiM/CourseButtonHover.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// Preserve the native Framer button and its link while keeping its label\n// legible when the entire button changes color, including keyboard focus.\nconst styles=`\n[data-snyc-course-action]:is(:hover, :focus-visible, :active) {\n    background-color: #ffffff !important;\n    box-shadow: inset 0 0 0 1px #111111;\n    color: #111111 !important;\n    transform: none !important;\n}\n[data-snyc-course-action]:is(:hover, :focus-visible, :active) .framer-text {\n    --framer-text-color: #111111 !important;\n    color: #111111 !important;\n}\n`;export function withMonochromeHover(Component){return /*#__PURE__*/forwardRef(function MonochromeHover(props,ref){return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(Component,{...props,ref:ref,\"data-snyc-course-action\":\"true\"})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withMonochromeHover\":{\"type\":\"reactHoc\",\"name\":\"withMonochromeHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CourseButtonHover.map"],"mappings":"gIAaE,SAAgB,EAAoB,EAAU,CAAC,OAAoB,EAAW,SAAyB,EAAM,EAAI,CAAC,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAM,CAAC,EAAe,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,0BAA0B,MAAM,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,mBAbzN,IAA8B,EAEtG,EAAO"}