{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/4gGwz2xmGB0FMeuFUUJL/zNa7rfMziuL5u5WchA4Q/Download_Button.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\n/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Download(props){const{title,tint,style,file}=props;return /*#__PURE__*/_jsx(motion.div,{style:{...style,...containerStyle},children:/*#__PURE__*/_jsx(motion.div,{onTap:()=>{const link=document.createElement(\"a\");link.href=file;link.download=\"download\";document.body.appendChild(link);link.click();link.remove();},style:{margin:0,padding:15,paddingLeft:40,paddingRight:40,cursor:\"pointer\",borderRadius:50,backgroundColor:tint,color:\"#fef8f1\",fontSize:\"18px\",textAlign:\"center\",fontFamily:\"copernicus book regular\"},whileHover:{opacity:.8},children:title})});}Download.defaultProps={tint:\"#09F\",title:\"Download\"};addPropertyControls(Download,{tint:{title:\"Tint\",type:ControlType.Color},title:{title:\"Label\",type:ControlType.String},file:{title:\"File\",type:ControlType.File,allowedFileTypes:[]}});const containerStyle={display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Download\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Download_Button.map"],
  "mappings": "gGAQkB,SAARA,EAA0BC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,KAAAC,EAAK,MAAAC,EAAM,KAAAC,CAAI,EAAEJ,EAAM,OAAoBK,EAAKC,EAAO,IAAI,CAAC,MAAM,CAAC,GAAGH,EAAM,GAAGI,CAAc,EAAE,SAAsBF,EAAKC,EAAO,IAAI,CAAC,MAAM,IAAI,CAAC,IAAME,EAAK,SAAS,cAAc,GAAG,EAAEA,EAAK,KAAKJ,EAAKI,EAAK,SAAS,WAAW,SAAS,KAAK,YAAYA,CAAI,EAAEA,EAAK,MAAM,EAAEA,EAAK,OAAO,CAAE,EAAE,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,YAAY,GAAG,aAAa,GAAG,OAAO,UAAU,aAAa,GAAG,gBAAgBN,EAAK,MAAM,UAAU,SAAS,OAAO,UAAU,SAAS,WAAW,yBAAyB,EAAE,WAAW,CAAC,QAAQ,EAAE,EAAE,SAASD,CAAK,CAAC,CAAC,CAAC,CAAE,CAACF,EAAS,aAAa,CAAC,KAAK,OAAO,MAAM,UAAU,EAAEU,EAAoBV,EAAS,CAAC,KAAK,CAAC,MAAM,OAAO,KAAKW,EAAY,KAAK,EAAE,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,MAAM,EAAE,KAAK,CAAC,MAAM,OAAO,KAAKA,EAAY,KAAK,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,IAAMH,EAAe,CAAC,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,QAAQ",
  "names": ["Download", "props", "title", "tint", "style", "file", "p", "motion", "containerStyle", "link", "addPropertyControls", "ControlType"]
}
