{"version":3,"file":"amWvfTLRa.WoIoOQug.mjs","names":["Image"],"sources":["https:/framerusercontent.com/modules/aOwrj5uEoVZHdF7cnSvt/DYsBRTCZrT4vk5iuJlTs/amWvfTLRa.js"],"sourcesContent":["// Generated by Framer (3eae0e1)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={YCDxe0FZc:{hover:true}};const serializationHash=\"framer-wd8FS\";const variantClassNames={YCDxe0FZc:\"framer-v-ze194j\"};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 transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,width,...props})=>{return{...props,KpKo5dq8f:click!==null&&click!==void 0?click:props.KpKo5dq8f};};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,KpKo5dq8f,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"YCDxe0FZc\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapdg0mdf=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(KpKo5dq8f){const res=await KpKo5dq8f(...args);if(res===false)return false;}});const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:\"https://wa.me/+27766092426\",openInNewTab:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(serializationHash,...sharedStyleClassNames,\"framer-ze194j\",className,classNames)} framer-2isj4b`,\"data-framer-name\":\"Whatsapp button\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"YCDxe0FZc\",onTap:onTapdg0mdf,ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"var(--token-a1a841da-c989-4661-b4dc-b516506b8bb2, rgb(249, 154, 41))\",borderBottomLeftRadius:34,borderBottomRightRadius:34,borderTopLeftRadius:34,borderTopRightRadius:34,...style},variants:{\"YCDxe0FZc-hover\":{backgroundColor:\"var(--token-163cf16e-f1ec-442f-8161-62690326e8e6, rgb(128, 49, 38))\"}},...addPropertyOverrides({\"YCDxe0FZc-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+((((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||64)-0-31)/2+0+0)),pixelHeight:29,pixelWidth:31,positionX:\"center\",positionY:\"center\",src:\"https://framerusercontent.com/images/1WaFNtmhf3dQVGfl1z6xkKNWw.svg\"},className:\"framer-1rw443g\",layoutDependency:layoutDependency,layoutId:\"YRtuPhKPJ\",...addPropertyOverrides({\"YCDxe0FZc-hover\":{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+((((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||64)-0-31)/2+0+0)),pixelHeight:29,pixelWidth:31,positionX:\"center\",positionY:\"center\",src:\"https://framerusercontent.com/images/QFAN7ZUAIoeskg12xzCHmwBYkR4.svg\"}}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-wd8FS.framer-2isj4b, .framer-wd8FS .framer-2isj4b { display: block; }\",\".framer-wd8FS.framer-ze194j { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 64px; justify-content: center; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: 64px; }\",\".framer-wd8FS .framer-1rw443g { aspect-ratio: 1.1111111111111112 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 30px); overflow: hidden; position: relative; width: 33px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-wd8FS.framer-ze194j { gap: 0px; } .framer-wd8FS.framer-ze194j > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-wd8FS.framer-ze194j > :first-child { margin-top: 0px; } .framer-wd8FS.framer-ze194j > :last-child { margin-bottom: 0px; } }\",\".framer-wd8FS.framer-v-ze194j.hover.framer-ze194j { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 64px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 64\n * @framerIntrinsicWidth 64\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"eHQCKnlOS\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"KpKo5dq8f\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FrameramWvfTLRa=withCSS(Component,css,\"framer-wd8FS\");export default FrameramWvfTLRa;FrameramWvfTLRa.displayName=\"Whatsapp link button\";FrameramWvfTLRa.defaultProps={height:64,width:64};addPropertyControls(FrameramWvfTLRa,{KpKo5dq8f:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FrameramWvfTLRa,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameramWvfTLRa\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"64\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"64\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"eHQCKnlOS\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"KpKo5dq8f\\\":\\\"click\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./amWvfTLRa.map"],"mappings":"0lBAC8c,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAE,EAA+H,MAApF,CAA1C,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,CAAe,sCAS5Y,AATlS,GAA2C,IAAyL,IAAkE,IAA4B,CAAM,EAAgB,CAAC,UAAU,CAAC,OAAM,CAAK,CAAC,EAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAkB,EAAuO,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAA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