{"version":3,"file":"DownloadButton.CuBCGZXe.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Qfc4N5Z0mNDuQpBkCxzQ/0pVrsapnGMqTRy87yijv/DownloadButton.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 DownloadButton(props){const{text,upload,background,textColor,radius}=props;return /*#__PURE__*/_jsx(motion.a,{href:upload,target:\"_blank\",rel:\"noopener noreferrer\",whileHover:{scale:1.03},whileTap:{scale:.97},style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"15px 24px\",background,color:textColor,borderRadius:radius,backgroundColor:\"#f5f5f5\",textDecoration:\"none\",fontWeight:500,fontSize:16,cursor:\"pointer\",userSelect:\"none\",// Inset shadow\nboxShadow:\"inset 0 3px 1px rgba(255,255,255,0.9), 0 2px 4px rgba(0,0,0,0.08), 0 12px 24px rgba(0,0,0,0.14)\"},children:text});}DownloadButton.defaultProps={text:\"Whitepaper\",upload:\"\",background:\"#2563EB\",textColor:\"#000\",radius:12};addPropertyControls(DownloadButton,{text:{type:ControlType.String,title:\"Text\"},upload:{type:ControlType.File,title:\"Upload\",allowedFileTypes:[\"*\"]},background:{type:ControlType.Color,title:\"Background\"},textColor:{type:ControlType.Color,title:\"Text\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:40,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DownloadButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DownloadButton.map"],"mappings":"wMAGG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,SAAO,aAAW,YAAU,UAAQ,EAAM,OAAoB,EAAK,EAAO,EAAE,CAAC,KAAK,EAAO,OAAO,SAAS,IAAI,sBAAsB,WAAW,CAAC,MAAM,IAAI,EAAE,SAAS,CAAC,MAAM,GAAG,EAAE,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,QAAQ,YAAY,aAAW,MAAM,EAAU,aAAa,EAAO,gBAAgB,UAAU,eAAe,OAAO,WAAW,IAAI,SAAS,GAAG,OAAO,UAAU,WAAW,OAC/d,UAAU,iGAAiG,EAAE,SAAS,CAAI,CAAC,CAAE,iBAJnF,IAAoD,IAAkC,EAIF,EAAe,aAAa,CAAC,KAAK,aAAa,OAAO,GAAG,WAAW,UAAU,UAAU,OAAO,OAAO,EAAE,EAAE,EAAoB,EAAe,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,MAAM,EAAE,OAAO,CAAC,KAAK,EAAY,KAAK,MAAM,SAAS,iBAAiB,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,EAAE,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,MAAM,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC"}