{"version":3,"file":"Custom_Card.-LULO2n4.mjs","names":["Icon"],"sources":["https:/framerusercontent.com/modules/WZhHVP0CSGR2ZuKE45pA/MfeiJIBVfu1rn3TRMEIW/Icon.js","https:/framer.com/m/Icon-JzBg.js@MfeiJIBVfu1rn3TRMEIW","https:/framerusercontent.com/modules/PT98ByyqUXhKLPL7VfYB/6w2F6bwMyB2iQT6hI0WU/Custom_Card.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";function Icon(){return /*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 24 24\",strokeWidth:1.5,stroke:\"#D1544D\",className:\"size-6\",children:/*#__PURE__*/_jsx(\"path\",{strokeLinecap:\"round\",strokeLinejoin:\"round\",d:\"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25\"})});}export default Icon;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Icon.map","/*\n * Icon\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/WZhHVP0CSGR2ZuKE45pA/MfeiJIBVfu1rn3TRMEIW/Icon.js\"\nexport { default } from \"https://framerusercontent.com/modules/WZhHVP0CSGR2ZuKE45pA/MfeiJIBVfu1rn3TRMEIW/Icon.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import Icon from\"https://framer.com/m/Icon-JzBg.js@MfeiJIBVfu1rn3TRMEIW\";export function CustomCard({title,subtitle,date,buttonText,optionalButtonText,pdfUrl,optionalUrl,...rest}){const cardStyle={width:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:\"left\",boxShadow:\"0px 0.8px 2.4px -0.6px rgba(0, 0, 0, 0.05), 0px 2.4px 7.2px -1.25px rgba(0, 0, 0, 0.05), 0px 6.4px 19.1px -1.9px rgba(0, 0, 0, 0.05), 0px 20px 60px -2.5px rgba(0, 0, 0, 0.05)\",backgroundColor:\"#ffffff\",overflow:\"hidden\",padding:\"30px\",alignContent:\"center\",borderRadius:\"16px\",gap:\"20px\"};const titleStyle={fontSize:\"20px\",fontWeight:600,width:\"auto\",height:\"auto\",overflow:\"hidden\",whiteSpace:\"nowrap\",fontStyle:\"normal\",fontFamily:\"Poppins, 'Poppins Placeholder', sans-serif\",color:\"#121A21)\",lineHeight:\"1.2\",textAlign:\"left\",textOverflow:\"ellipsis\"};const dateStyle={fontSize:\"16px\",width:\"auto\",height:\"auto\",whiteSpace:\"pre\",overflow:\"visible\",fontWeight:500,fontStyle:\"normal\",fontFamily:\"Poppins, 'Poppins Placeholder', sans-serif\",color:\"#707070\",lineHeight:\"1.2\",textAlign:\"left\"};const subtitleStyle={fontSize:\"16px\",width:\"auto\",height:\"auto\",fontWeight:500,fontStyle:\"normal\",fontFamily:\"Poppins, 'Poppins Placeholder', sans-serif\",color:\"#121A21\",lineHeight:\"1.2\",textAlign:\"left\",overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"};const buttonStyle={width:\"fit-content\",backgroundColor:\"transparent\",color:\"#D1544D\",border:\"none\",padding:0,cursor:\"pointer\",display:\"flex\",fontWeight:500,lineHeight:\"1.2\",fontSize:\"16px\",fontStyle:\"normal\",fontFamily:\"Poppins, 'Poppins Placeholder', sans-serif\",flexDirection:\"row\",justifyContent:\"center\",alignItems:\"center\",overflow:\"visible\",alignContent:\"center\"};const handleButtonClick=url=>{if(url){window.open(url,\"_blank\");}};return /*#__PURE__*/_jsxs(\"div\",{style:{...cardStyle,...rest.style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"6px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:titleStyle,children:title}),/*#__PURE__*/_jsx(\"div\",{style:dateStyle,children:date})]}),/*#__PURE__*/_jsx(\"div\",{style:subtitleStyle,children:subtitle}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"start\",gap:\"10px\"},children:[pdfUrl&&/*#__PURE__*/_jsxs(\"button\",{style:buttonStyle,onClick:()=>handleButtonClick(pdfUrl),children:[buttonText,/*#__PURE__*/_jsx(\"div\",{style:{width:\"20px\",marginLeft:\"16px\"},children:/*#__PURE__*/_jsx(Icon,{})})]}),optionalUrl&&/*#__PURE__*/_jsxs(\"button\",{style:buttonStyle,onClick:()=>handleButtonClick(optionalUrl),children:[optionalButtonText,/*#__PURE__*/_jsx(\"div\",{style:{width:\"20px\",marginLeft:\"16px\"},children:/*#__PURE__*/_jsx(Icon,{})})]})]})]});}CustomCard.defaultProps={width:300,height:200,title:\"Card Title\",subtitle:\"Card Subtitle\",date:\"Card Date\",buttonText:\"Full Announcement\",optionalButtonText:\"Full Announcement\",pdfUrl:\"\",optionalUrl:\"\"};\nexport const __FramerMetadata__ = {\"exports\":{\"CustomCard\":{\"type\":\"reactComponent\",\"name\":\"CustomCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom_Card.map"],"mappings":"yHAA2C,SAAS,GAAM,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,6BAA6B,KAAK,OAAO,QAAQ,YAAY,YAAY,IAAI,OAAO,UAAU,UAAU,SAAS,SAAsB,EAAK,OAAO,CAAC,cAAc,QAAQ,eAAe,QAAQ,EAAE,uIAAuI,CAAC,CAAC,CAAC,oBAAnY,GAAoZ,sBCO9U,ICPiB,SAAgB,EAAW,CAAC,QAAM,WAAS,OAAK,aAAW,qBAAmB,SAAO,cAAY,GAAG,GAAM,CAAC,IAAM,EAAU,CAAC,MAAM,OAAO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