{"version":3,"file":"ButtonEffects.B4WDh047.mjs","names":[],"sources":["https:/framerusercontent.com/modules/tizekpJji9RY1RNRoc5l/ddjzj1Dvfl3KN1XV53w1/ButtonEffects.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export function withVisibleButtonShimmer(Component){return props=>{return /*#__PURE__*/_jsxs(Component,{...props,style:{...props.style,position:\"relative\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",zIndex:2,width:\"100%\",height:\"100%\"},children:props.children}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:\"-50%\",left:\"-150%\",width:\"100%\",height:\"200%\",// УЗКИЙ И ЯРКИЙ ЛУЧ:\n// Мы увеличили прозрачность до 0.5 в центре и сузили его (45%-55%)\nbackground:\"linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%)\",// Режим screen заставляет блик \"гореть\" на кнопке\nmixBlendMode:\"screen\",zIndex:1,pointerEvents:\"none\"},animate:{left:[\"-150%\",\"150%\"]},transition:{duration:2.5,repeat:Infinity,repeatDelay:2.5,ease:\"easeInOut\"}})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withVisibleButtonShimmer\":{\"type\":\"reactHoc\",\"name\":\"withVisibleButtonShimmer\",\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ButtonEffects.map"],"mappings":"4JAGG,SAAgB,EAAyB,EAAU,CAAC,MAAO,IAA4B,EAAM,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,WAAW,SAAS,SAAS,CAAC,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,OAAO,EAAE,MAAM,OAAO,OAAO,OAAO,CAAC,SAAS,EAAM,SAAS,CAAC,CAAc,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,OAAO,KAAK,QAAQ,MAAM,OAAO,OAAO,OAEnZ,WAAW,0FACX,aAAa,SAAS,OAAO,EAAE,cAAc,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,WAAW,CAAC,SAAS,IAAI,OAAO,IAAS,YAAY,IAAI,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,kBAN3G,IAAkC"}