{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/jAri5ClAx4cNEadd2T1s/tT8DbOXLidr8ssZiWgnH/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,viaProperty}=props;const cssContent=`\n    #__framer-badge-container {\n      ${horizontal===\"left\"?\"justify-content: flex-start !important;\":\"justify-content: flex-end !important;\"}\n      ${vertical===\"top\"?\"top: 0 !important;\":\"bottom: 0 !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=${viaProperty}`;clearInterval(intervalId);}}},500);return()=>{document.head.removeChild(styleSheet);clearInterval(intervalId);};},[horizontal,vertical,viaProperty]);return /*#__PURE__*/_jsx(motion.div,{});}FramerButton.defaultProps={horizontal:\"left\",vertical:\"top\",viaProperty:\"lovi\"};addPropertyControls(FramerButton,{horizontal:{type:ControlType.Enum,title:\"Horizontal Position\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"left\"},vertical:{type:ControlType.Enum,title:\"Vertical Position\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],defaultValue:\"top\"},viaProperty:{type:ControlType.String,title:\"Ref code\",defaultValue:\"lovi\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayo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ty", "cssContent", "ue", "styleSheet", "intervalId", "badgeContainer", "framerLink", "p", "motion", "addPropertyControls", "ControlType"]
}
