{"version":3,"file":"WhatsApp.DoKM6Ns7.mjs","names":[],"sources":["https:/framerusercontent.com/modules/njEXUCOkXq1r5Y0ny5Tk/g3lP4mCmn8knR8ydqgVc/WhatsApp.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function WhatsApp(props){const{tint,phone,message,size,logo}=props;const whatsappURL=`https://wa.me/${phone}?text=${encodeURIComponent(message)}`;return /*#__PURE__*/_jsx(motion.a,{href:whatsappURL,target:\"_blank\",rel:\"noopener noreferrer\",style:{width:size,height:size,borderRadius:\"50%\",backgroundColor:tint,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\"},animate:{scale:[1,1.1,1]},transition:{duration:1.5,repeat:Infinity,ease:\"easeInOut\"},whileHover:{scale:1.2},whileTap:{scale:.9},children:/*#__PURE__*/_jsx(\"img\",{src:logo,alt:\"WhatsApp\",style:{width:size*.55,height:size*.55}})});}addPropertyControls(WhatsApp,{tint:{title:\"Background\",type:ControlType.Color,defaultValue:\"#111111\"},phone:{title:\"Phone\",type:ControlType.String,defaultValue:\"491793902489\"},message:{title:\"Message\",type:ControlType.String,defaultValue:\"Hello! I want to know more.\"},size:{title:\"Size\",type:ControlType.Number,defaultValue:64,min:40,max:120},logo:{title:\"Logo PNG\",type:ControlType.Image}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WhatsApp\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WhatsApp.map"],"mappings":"6MAGG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,OAAK,QAAM,UAAQ,OAAK,QAAM,EAAY,EAAY,iBAAiB,EAAM,QAAQ,mBAAmB,EAAQ,GAAG,OAAoB,EAAK,EAAO,EAAE,CAAC,KAAK,EAAY,OAAO,SAAS,IAAI,sBAAsB,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,aAAa,MAAM,gBAAgB,EAAK,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,OAAO,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,IAAI,OAAO,IAAS,KAAK,YAAY,CAAC,WAAW,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAK,IAAI,WAAW,MAAM,CAAC,MAAM,EAAK,IAAI,OAAO,EAAK,IAAI,CAAC,CAAC,CAAC,CAAC,kBAH9kB,IAAoD,IAAkC,CAG0f,EAAoB,EAAS,CAAC,KAAK,CAAC,MAAM,aAAa,KAAK,EAAY,MAAM,aAAa,UAAU,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAK,EAAY,OAAO,aAAa,eAAe,CAAC,QAAQ,CAAC,MAAM,UAAU,KAAK,EAAY,OAAO,aAAa,8BAA8B,CAAC,KAAK,CAAC,MAAM,OAAO,KAAK,EAAY,OAAO,aAAa,GAAG,IAAI,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,WAAW,KAAK,EAAY,MAAM,CAAC,CAAC"}