{"version":3,"file":"NewBlogCard.DXEFORc7.mjs","names":["useState","p"],"sources":["https:/framerusercontent.com/modules/9wy1SHcePK7gtheruwi4/UXa7UyIgAUDGYyzyqfFN/NewBlogCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";import{colors,fonts}from\"https://framerusercontent.com/modules/nsBKZt1tV4ODJkU4DvLu/Zgpn3r4s5wWas4DoiPyQ/newtokens.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 380\n * @framerIntrinsicHeight 280\n * @framerDisableUnlink\n */const BlogCard=p=>{const[hovered,setHovered]=useState(false);// Framer CMS passes bare slugs to code component props — prepend the full path\nconst href=p.slug.startsWith(\"/\")?p.slug:`/resources/blog/${p.slug}`;return /*#__PURE__*/_jsxs(\"a\",{href:href,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{display:\"flex\",flexDirection:\"column\",background:p.cardBackground,border:`1px solid ${hovered?p.cardHoverBorderColor:p.cardBorderColor}`,borderRadius:p.cardBorderRadius,overflow:\"hidden\",textDecoration:\"none\",color:\"inherit\",width:\"100%\",boxSizing:\"border-box\",transform:hovered?\"translateY(-3px)\":\"translateY(0)\",transition:\"border-color 0.18s ease, transform 0.18s ease\",cursor:\"pointer\",...p.style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .rn-bc-excerpt {\n                    display: -webkit-box;\n                    -webkit-line-clamp: ${p.excerptMaxLines};\n                    -webkit-box-orient: vertical;\n                    overflow: hidden;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:`${p.paddingV}px ${p.paddingH}px 16px`,flex:1,display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",marginBottom:13},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:fonts.body,fontSize:p.tagSize,fontWeight:600,letterSpacing:`${p.tagLetterSpacing}em`,textTransform:\"uppercase\",color:p.tagColor,background:p.tagBg,padding:\"3px 9px\",borderRadius:2},children:p.category}),p.showDate&&/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:fonts.body,fontSize:p.dateSize,color:p.dateColor},children:p.date})]}),/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:fonts.display,fontSize:p.titleSize,fontWeight:p.titleWeight,letterSpacing:`${p.titleLetterSpacing}em`,lineHeight:p.titleLineHeight,color:p.titleColor,margin:\"0 0 9px\"},children:p.title}),p.excerpt&&/*#__PURE__*/_jsx(\"p\",{className:\"rn-bc-excerpt\",style:{fontFamily:fonts.body,fontSize:p.excerptSize,lineHeight:p.excerptLineHeight,color:p.excerptColor,margin:0,flex:1},children:p.excerpt})]}),/*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${p.footerBorderColor}`,padding:`12px ${p.paddingH}px`,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",background:hovered?p.footerHoverBg:\"transparent\",transition:\"background 0.18s ease\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:fonts.body,fontSize:p.readSize,fontWeight:600,letterSpacing:`${p.readLetterSpacing}em`,textTransform:\"uppercase\",color:hovered?p.readHoverColor:p.readColor,transition:\"color 0.18s ease\"},children:p.readLabel}),/*#__PURE__*/_jsx(\"span\",{style:{color:hovered?p.arrowHoverColor:p.arrowDefaultColor,transition:\"color 0.18s ease, transform 0.18s ease\",transform:hovered?\"translateX(4px)\":\"translateX(0)\",display:\"inline-block\",fontSize:15},children:\"→\"})]})]});};BlogCard.defaultProps={category:\"Healthcare\",date:\"Mar 13, 2026\",showDate:true,title:\"When Stryker Goes Dark, Your PAR Levels Are the Only Thing Standing Between You and a Canceled Case\",excerpt:\"What happened to Stryker this week isn't just a cybersecurity story. It's a stress test your supply chain just failed in your head.\",slug:\"#\",readLabel:\"Read post\",cardBackground:colors.white,cardBorderColor:\"#DDD7CC\",cardHoverBorderColor:\"#1F7FA5\",cardBorderRadius:4,tagColor:\"#1F7FA5\",tagBg:\"rgba(31,127,165,0.07)\",tagSize:10,tagLetterSpacing:.13,dateColor:\"#5A6675\",dateSize:11,titleColor:\"#0F1A24\",titleSize:15,titleLineHeight:1.3,titleLetterSpacing:-.02,titleWeight:500,excerptColor:\"#2A3540\",excerptSize:12.5,excerptLineHeight:1.55,excerptMaxLines:3,footerBorderColor:\"#DDD7CC\",footerHoverBg:\"#0F1A24\",readColor:\"#1F7FA5\",readHoverColor:\"#4DBCE4\",readSize:11,readLetterSpacing:.06,arrowDefaultColor:\"#DDD7CC\",arrowHoverColor:\"#4DBCE4\",paddingH:22,paddingV:22};addPropertyControls(BlogCard,{category:{type:ControlType.String,title:\"Category\",description:\"Bind to 'category' CMS field\"},date:{type:ControlType.String,title:\"Date\",description:\"Bind to 'date' CMS field\"},showDate:{type:ControlType.Boolean,title:\"Show date\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},title:{type:ControlType.String,title:\"Title\",displayTextArea:true,description:\"Bind to 'title' CMS field\"},excerpt:{type:ControlType.String,title:\"Excerpt\",displayTextArea:true,description:\"Bind to 'excerpt' CMS field\"},slug:{type:ControlType.String,title:\"Post URL\",description:\"Bind to 'slug' CMS field — Framer resolves this to the full path automatically\"},readLabel:{type:ControlType.String,title:\"Read label\",defaultValue:\"Read post\"},cardBackground:{type:ControlType.Color,title:\"Card bg\",defaultValue:colors.white},cardBorderColor:{type:ControlType.Color,title:\"Card border\",defaultValue:\"#DDD7CC\"},cardHoverBorderColor:{type:ControlType.Color,title:\"Card hover border\",defaultValue:\"#1F7FA5\"},cardBorderRadius:{type:ControlType.Number,title:\"Border radius\",defaultValue:4,min:0,max:20,step:1,displayStepper:true},tagColor:{type:ControlType.Color,title:\"Tag color\",defaultValue:\"#1F7FA5\"},tagBg:{type:ControlType.Color,title:\"Tag bg\",defaultValue:\"rgba(31,127,165,0.07)\"},tagSize:{type:ControlType.Number,title:\"Tag size\",defaultValue:10,min:8,max:14,step:1,displayStepper:true},tagLetterSpacing:{type:ControlType.Number,title:\"Tag tracking (em)\",defaultValue:.13,min:0,max:.3,step:.01,displayStepper:true},dateColor:{type:ControlType.Color,title:\"Date color\",defaultValue:\"#5A6675\"},dateSize:{type:ControlType.Number,title:\"Date size\",defaultValue:11,min:9,max:14,step:1,displayStepper:true},titleColor:{type:ControlType.Color,title:\"Title color\",defaultValue:\"#0F1A24\"},titleSize:{type:ControlType.Number,title:\"Title size\",defaultValue:15,min:12,max:28,step:1,displayStepper:true},titleWeight:{type:ControlType.Number,title:\"Title weight\",defaultValue:500,min:300,max:700,step:100,displayStepper:true},titleLineHeight:{type:ControlType.Number,title:\"Title line height\",defaultValue:1.3,min:1,max:1.8,step:.05,displayStepper:true},titleLetterSpacing:{type:ControlType.Number,title:\"Title tracking (em)\",defaultValue:-.02,min:-.06,max:.05,step:.005,displayStepper:true},excerptColor:{type:ControlType.Color,title:\"Excerpt color\",defaultValue:\"#2A3540\"},excerptSize:{type:ControlType.Number,title:\"Excerpt size\",defaultValue:12.5,min:11,max:18,step:.5,displayStepper:true},excerptLineHeight:{type:ControlType.Number,title:\"Excerpt line height\",defaultValue:1.55,min:1.2,max:2,step:.05,displayStepper:true},excerptMaxLines:{type:ControlType.Number,title:\"Excerpt max lines\",defaultValue:3,min:1,max:8,step:1,displayStepper:true},footerBorderColor:{type:ControlType.Color,title:\"Footer border\",defaultValue:\"#DDD7CC\"},footerHoverBg:{type:ControlType.Color,title:\"Footer hover bg\",defaultValue:\"#0F1A24\"},readColor:{type:ControlType.Color,title:\"Read label color\",defaultValue:\"#1F7FA5\"},readHoverColor:{type:ControlType.Color,title:\"Read label hover\",defaultValue:\"#4DBCE4\"},readSize:{type:ControlType.Number,title:\"Read label size\",defaultValue:11,min:9,max:14,step:1,displayStepper:true},readLetterSpacing:{type:ControlType.Number,title:\"Read tracking (em)\",defaultValue:.06,min:0,max:.2,step:.01,displayStepper:true},arrowDefaultColor:{type:ControlType.Color,title:\"Arrow color\",defaultValue:\"#DDD7CC\"},arrowHoverColor:{type:ControlType.Color,title:\"Arrow hover color\",defaultValue:\"#4DBCE4\"},paddingH:{type:ControlType.Number,title:\"Padding H\",defaultValue:22,min:12,max:48,step:2,displayStepper:true},paddingV:{type:ControlType.Number,title:\"Padding V\",defaultValue:22,min:12,max:48,step:2,displayStepper:true}});export default BlogCard;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"380\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicHeight\":\"280\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NewBlogCard.map"],"mappings":"2PAAwD,IAAoD,IAA4B,IAAuH,EAMtP,EAAS,GAAG,CAAC,GAAK,CAAC,EAAQ,GAAYA,EAAS,EAAK,EACO,OAAoB,EAAM,IAAI,CAAC,KAAzFC,EAAE,KAAK,WAAW,GAAG,EAAEA,EAAE,KAAK,mBAAmBA,EAAE,OAAgD,iBAAiB,EAAW,EAAI,EAAE,iBAAiB,EAAW,EAAK,EAAE,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,WAAWA,EAAE,eAAe,OAAO,aAAa,EAAQA,EAAE,qBAAqBA,EAAE,kBAAkB,aAAaA,EAAE,iBAAiB,SAAS,SAAS,eAAe,OAAO,MAAM,UAAU,MAAM,OAAO,UAAU,aAAa,UAAU,EAAQ,mBAAmB,gBAAgB,WAAW,gDAAgD,OAAO,UAAU,GAAGA,EAAE,KAAK,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;0CAGhlBA,EAAE,gBAAgB;;;;aAI/C,CAAC,EAAe,EAAM,MAAM,CAAC,MAAM,CAAC,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