{"version":3,"file":"FramerButton.D4rbSyf6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/vSPj0LrQbSBbaVeuvpFo/AKG5TLdRQbGqU8sntOok/FramerButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function FramerButton(props){const{horizontal,vertical,hide}=props;const cssContent=`\n    #__framer-badge-container {\n      ${hide===\"yes\"?\"display: none !important;\":\"display: unset !important;\"}\n    }\n  `;React.useEffect(()=>{const styleSheet=document.createElement(\"style\");styleSheet.type=\"text/css\";styleSheet.innerText=cssContent;document.head.appendChild(styleSheet);const intervalId=setInterval(()=>{const badgeContainer=document.querySelector(\"#__framer-badge-container\");if(badgeContainer){const framerLink=badgeContainer.querySelector(\"a[href='https://framer.com/']\");if(framerLink){framerLink.href=\"https://framer.com/?via=lovi\";clearInterval(intervalId);}}},500);return()=>{document.head.removeChild(styleSheet);clearInterval(intervalId);};},[horizontal,vertical]);return /*#__PURE__*/_jsx(motion.div,{});}addPropertyControls(FramerButton,{hide:{type:ControlType.Enum,title:\"Hide\",options:[\"yes\",\"no\"],optionTitles:[\"Hide\",\"Show\"],defaultValue:\"yes\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FramerButton.map"],"mappings":"kVAGG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,aAAW,WAAS,OAAK,CAAC,EAAY,GAAY;;QAE/F,IAAO,MAAM,4BAA4B,6BAA6B;;IAEif,MAA3jB,GAAgB,IAAI,CAAC,IAAM,EAAW,SAAS,cAAc,QAAQ,CAA4D,AAA3D,EAAW,KAAK,WAAW,EAAW,UAAU,EAAW,SAAS,KAAK,YAAY,EAAW,CAAC,IAAM,EAAW,YAAY,IAAI,CAAC,IAAM,EAAe,SAAS,cAAc,4BAA4B,CAAC,GAAG,EAAe,CAAC,IAAM,EAAW,EAAe,cAAc,gCAAgC,CAAC,AAAG,IAAY,EAAW,KAAK,+BAA+B,cAAc,EAAW,CAAG,CAAC,EAAC,IAAI,CAAC,MAAM,IAAI,CAAuC,AAAtC,SAAS,KAAK,YAAY,EAAW,CAAC,cAAc,EAAW,AAAE,CAAE,EAAC,CAAC,EAAW,CAAS,EAAC,CAAqB,EAAK,EAAO,IAAI,CAAE,EAAC,AAAE,cAAA,AAPxmB,GAA2C,IAA4B,IAAoD,IAAkC,CAO2c,EAAoB,EAAa,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,QAAQ,CAAC,MAAM,IAAK,EAAC,aAAa,CAAC,OAAO,MAAO,EAAC,aAAa,KAAM,CAAC,EAAC"}