{"version":3,"file":"BlogCardHover.DAEDemYD.mjs","names":["_Fragment","__esmMin","init_npm_react_18_3_1","l","p","c","J","init_jsx_runtime","withBlogCardHover","rest","props","CSS","Component","className","init_BlogCardHover"],"sources":["https:/framerusercontent.com/modules/rBTrNukDIzR9y5q9QRbd/2jFcsl5wLgzRaxZ5YRhm/BlogCardHover.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// Blog card hover (RB · Blog, approved by the user on 17 Nov). Put withBlogCardHover on each card (the linked \"Card\"\n// frame) in the Latest grid on /blog and the Keep reading grid on the post page.\n// On a real pointer, hovering a card zooms its \"Image\" to 1.05 inside its Stone, clipped \"Image wrap\". Leaving reverses it.\n// Motion follows animation.md: ease-out (rb-out), 1s (long), transform only, the same feel as the About team cards.\n// Keyboard focus on the card shows the same state. Touch: nothing. Reduced motion: no transition (no zoom).\nconst CSS=\".rb-bcard{--rb-bcard-ease:cubic-bezier(0.19,1,0.22,1)}\"+\"@media (hover:hover) and (pointer:fine){\"+'.rb-bcard [data-framer-name=\"Image\"]{transition:transform 1s var(--rb-bcard-ease)!important;transform-origin:50% 50%}'+'.rb-bcard:hover [data-framer-name=\"Image\"],.rb-bcard:focus-visible [data-framer-name=\"Image\"]{transform:scale(1.05)!important}'+\"}\"+'@media (prefers-reduced-motion:reduce){.rb-bcard [data-framer-name=\"Image\"]{transition:none!important;transform:none!important}}';export function withBlogCardHover(Component){return /*#__PURE__*/forwardRef(function BlogCardHover(props,ref){const{className,...rest}=props;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{\"data-rb-bcard\":\"\",children:CSS}),/*#__PURE__*/_jsx(Component,{...rest,ref:ref,className:className?className+\" rb-bcard\":\"rb-bcard\"})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withBlogCardHover\":{\"type\":\"reactHoc\",\"name\":\"withBlogCardHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogCardHover.map"],"mappings":"A,gIAK8e,SAAgBQ,EAAkB,EAAU,CAAC,MAAoB,gBAAW,SAAuB,EAAM,EAAI,CAAC,GAAK,CAAC,YAAU,GAAGC,GAAMC,EAAM,MAAoB,gBAAMV,EAAU,CAAC,SAAS,CAAc,gBAAK,QAAQ,CAAC,gBAAgB,GAAG,SAASW,CAAG,CAAC,EAAe,gBAAKC,EAAU,CAAC,GAAGH,EAAS,MAAI,UAAUI,EAAUA,EAAU,YAAY,UAAU,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,C,4CAA30B,EAAI,od"}