{"version":3,"file":"TextShine.CsFmcdLH.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/BbpFxWdFZTCNOV9ErFt6/ONUZqsdXogmABz4NROxo/FrameShine.js","https:/framerusercontent.com/modules/hRfdu6flODOj0UjGoiXe/9jUl4WUVipWZllpHOStE/TextShine.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function withFrameShine(Component){return props=>{useEffect(()=>{const style=document.createElement(\"style\");style.innerHTML=`\n              @keyframes maskShine {\n                0% { -webkit-mask-position: 200%; }\n                100% { -webkit-mask-position: -100%; }\n              }\n              .maskShine {\n                -webkit-mask-image: linear-gradient(to right, transparent 30%, #EEE 50%, transparent 70%);\n                -webkit-mask-size: 150% auto;\n                animation: maskShine 5s ease-in-out infinite;\n              }\n            `;document.head.appendChild(style);},[]);const{className,...rest}=props;const combinedClassName=[className,\"maskShine\"].filter(Boolean).join(\" \");return /*#__PURE__*/_jsx(Component,{...rest,className:combinedClassName});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withFrameShine\":{\"type\":\"reactHoc\",\"name\":\"withFrameShine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FrameShine.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export const TextShine=props=>{useEffect(()=>{const style=document.createElement(\"style\");style.innerHTML=`\n@keyframes shine {\n0% { -webkit-mask-position: 200%; }\n100% { -webkit-mask-position: -100%; }\n}\n        .shine {\n            -webkit-mask-image: linear-gradient(to right, transparent 30%, #EEE 50%, transparent 70%);\n            -webkit-mask-size: 150% auto;\n            animation: shine 5s ease-in-out infinite;\n        }\n    `;document.head.appendChild(style);},[]);return{...props,style:{...props.style},children:/*#__PURE__*/_jsx(\"span\",{className:\"shine\",children:props.children})};};import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withTextShine(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...TextShine(props)});};}withTextShine.displayName=\"TextShine\";\nexport const __FramerMetadata__ = {\"exports\":{\"TextShine\":{\"type\":\"override\",\"name\":\"TextShine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextShine\":{\"type\":\"reactHoc\",\"name\":\"withTextShine\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextShine.map"],"mappings":"2KAAwE,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAO,CAAC,MAAc,CAAC,IAAM,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,UAAU;;;;;;;;;;cAU9L,SAAS,KAAK,YAAY,CAAK,CAAE,EAAE,CAAC,CAAC,EAAE,GAAK,CAAC,YAAU,GAAG,GAAM,EAAY,EAAkB,CAAC,EAAU,WAAW,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAK,UAAU,CAAiB,CAAC,CAAE,CAAE,iBAVhM,IAA6B,KCUkP,SAAgB,EAAc,EAAE,CAAC,MAAO,KAAQ,EAA+BA,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAU,CAAK,CAAC,CAAC,EAAI,mBAVvb,IAA6B,IAUiP,EAVnO,EAAU,IAAQ,MAAc,CAAC,IAAM,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,UAAU;;;;;;;;;;MAU5K,SAAS,KAAK,YAAY,CAAK,CAAE,EAAE,CAAC,CAAC,EAAQ,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,KAAK,EAAE,SAAsB,EAAK,OAAO,CAAC,UAAU,QAAQ,SAAS,EAAM,QAAQ,CAAC,CAAC,GAAgU,EAAc,YAAY"}