{"version":3,"file":"FramerButton.DUJAMnPG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5CkiITf3xRcBTU4qTsxU/xEZYbSV1QNKgSK3FreR6/P2CqzcWhb.js","https:/framerusercontent.com/modules/22VcLIv814vAkWL2lnK5/A3acUJwJn1pPHNXTU9yJ/FramerButton.js"],"sourcesContent":["// Generated by Framer (20caf11)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Cabinet Grotesk-bold\",\"FS;Cabinet Grotesk-black\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Cabinet Grotesk\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/XMXWOHABYLQDJ42L65EFRYNVRY37HQCB/B2O4O6V3JMFM2WDCYQI3A47L5U4THDUL/WN5274VQ3AUBDFP74GB4EC4XYJ3EKVNE.woff2\",weight:\"700\"},{family:\"Cabinet Grotesk\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/54BYDK52GK4J6SPDN2E656FIZHUETKL3/ACYE4XDNEUAHIOQEOGPYPDVAVDI5P67Q/TZVUWRP4UW5PEJWBLXHG5VVGPODI2WLC.woff2\",weight:\"900\"}]}];export const css=['.framer-OwUvj .framer-styles-preset-ct12m9:not(.rich-text-wrapper), .framer-OwUvj .framer-styles-preset-ct12m9.rich-text-wrapper h2 { --framer-font-family: \"Cabinet Grotesk\", \"Cabinet Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Cabinet Grotesk\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 56px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-weight: 700; --framer-font-weight-bold: 900; --framer-letter-spacing: -0.32px; --framer-line-height: 120%; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-1e6aa030-b9a6-4d7d-9eed-12ec3ce25c6d, #2e3238); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1279px) and (min-width: 810px) { .framer-OwUvj .framer-styles-preset-ct12m9:not(.rich-text-wrapper), .framer-OwUvj .framer-styles-preset-ct12m9.rich-text-wrapper h2 { --framer-font-family: \"Cabinet Grotesk\", \"Cabinet Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Cabinet Grotesk\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 40px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-weight: 700; --framer-font-weight-bold: 900; --framer-letter-spacing: -0.32px; --framer-line-height: 120%; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-1e6aa030-b9a6-4d7d-9eed-12ec3ce25c6d, #2e3238); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-OwUvj .framer-styles-preset-ct12m9:not(.rich-text-wrapper), .framer-OwUvj .framer-styles-preset-ct12m9.rich-text-wrapper h2 { --framer-font-family: \"Cabinet Grotesk\", \"Cabinet Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Cabinet Grotesk\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 32px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-weight: 700; --framer-font-weight-bold: 900; --framer-letter-spacing: -0.32px; --framer-line-height: 120%; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-1e6aa030-b9a6-4d7d-9eed-12ec3ce25c6d, #2e3238); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-OwUvj\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","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\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FramerButton.map"],"mappings":"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