{"version":3,"file":"Example.DLEpI42K.mjs","names":["React.useId"],"sources":["https:/framerusercontent.com/modules/omE36S1rdpchfbeo8uPq/9sPpLekumSYSKgL0sQup/Yzt7X1azf.js","https:/framerusercontent.com/modules/toNV9sOzCneNPP3AgFqi/vcbIa0QBEjQoPwpBR8N1/Example.js"],"sourcesContent":["// Generated by Framer (461de17)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup}from\"framer-motion\";import*as React from\"react\";const enabledGestures={w_LeopN7D:{hover:true}};const cycleOrder=[\"w_LeopN7D\"];const serializationHash=\"framer-Ugdlf\";const variantClassNames={w_LeopN7D:\"framer-v-1jlgv4\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,gestureHandlers,gestureVariant,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"w_LeopN7D\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Ugdlf.framer-1lghk17, .framer-Ugdlf .framer-1lghk17 { display: block; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 36\n * @framerIntrinsicWidth 142\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"kKqRCpmis\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerYzt7X1azf=withCSS(Component,css,\"framer-Ugdlf\");export default FramerYzt7X1azf;FramerYzt7X1azf.displayName=\"Buy Button\";FramerYzt7X1azf.defaultProps={height:36,width:142};addFonts(FramerYzt7X1azf,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerYzt7X1azf\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"142\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"kKqRCpmis\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"36\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Yzt7X1azf.map","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function FramerButton(props){const{horizontal,vertical}=props;const cssContent=`\n    #__framer-badge-container {\n      ${horizontal===\"left\"?\"z-index: -100 !important;\":\"z-index: -100 !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=fouroom\";clearInterval(intervalId);}}},500);return()=>{document.head.removeChild(styleSheet);clearInterval(intervalId);};},[horizontal,vertical]);return /*#__PURE__*/_jsx(motion.div,{});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Example.map"],"mappings":"ocAC2C,IAAwF,IAAuC,IAA4B,CAAM,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,CAA8C,EAAkB,CAAC,UAAU,kBAAkB,CAAuO,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAQ7xB,EAAgB,EAR6yB,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,eAAa,aAAW,GAAe,CAAM,CAAC,QAAM,YAAU,WAAS,UAAQ,GAAG,GAAW,EAAS,EAAM,CAAM,CAAC,cAAY,aAAW,kBAAgB,iBAAe,kBAAgB,aAAW,YAAU,EAAgB,CAAC,aAAW,eAAe,YAAY,kBAAgB,UAAQ,oBAAkB,CAAC,CAAwB,EAAuB,EAAM,EAAS,CAAC,IAAM,EAAgBA,GAAa,CAA+E,OAAvB,GAAsB,CAAqB,EAAK,EAAY,CAAC,GAAG,GAA4C,EAAgB,CAAC,EAAG,CAAW,CAAC,kFAAkF,kFAAk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