{"version":3,"file":"CardShell.rO0XPOF8.mjs","names":["_jsx","__esmMin","c","init_jsx_runtime","init_framer_ChujFWHC","addPropertyControls","ControlType","CardShell","props","color","radius","shadow","shadowCss","blur","boxShadow","backdrop","init_CardShell","p"],"sources":["https:/framerusercontent.com/modules/8UYrHKTsE8quH9qotwRN/xdhH48oW9D1bdYcq7tpj/CardShell.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * CardShell — card surface with baked-in shadow/2xl from the SoldSafe library\n * (plugin cannot set boxShadow on frames, so the shadow lives in code)\n *\n * v2 (2026-10-20, How It Works hero chips): optional `shadowCss` — a custom box-shadow string\n * that replaces shadow/2xl (empty = the library 2xl as before), and `blur` — a backdrop blur in px\n * (0 = off) for glassy chips (Figma: white @ 80% + background blur 14 + shadow 0/12/32/-12 navy 10%).\n * Both are new props with inert defaults, so every existing instance renders exactly as before.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1190\n * @framerIntrinsicHeight 462\n */export default function CardShell(props){const{color=\"#FFFFFF\",radius=32,shadow=true,shadowCss=\"\",blur=0}=props;const defaultShadow=\"0px 16px 40px -8px rgba(16, 24, 40, 0.04), 0px 5px 14px -4px rgba(16, 24, 40, 0.02)\";const boxShadow=shadow?shadowCss&&shadowCss.trim()?shadowCss:defaultShadow:\"none\";const backdrop=blur>0?`blur(${blur}px)`:undefined;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:color,borderRadius:radius,boxShadow,backdropFilter:backdrop,WebkitBackdropFilter:backdrop}});}addPropertyControls(CardShell,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:32,min:0,max:64},shadow:{type:ControlType.Boolean,title:\"Shadow\",defaultValue:true},shadowCss:{type:ControlType.String,title:\"↳ Custom\",defaultValue:\"\",placeholder:\"0px 12px 32px -12px rgba(3,10,87,0.1)\",description:\"CSS box-shadow. Empty = library shadow/2xl.\",hidden:p=>!p.shadow},blur:{type:ControlType.Number,title:\"Backdrop blur\",defaultValue:0,min:0,max:60,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CardShell\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CardShell.map"],"mappings":"A,4JAaG,SAAwBO,EAAUC,EAAM,CAAC,GAAK,CAACC,QAAM,UAAUC,SAAO,GAAGC,SAAO,GAAKC,YAAU,GAAGC,OAAK,GAAGL,EAAsHM,EAAUH,EAAOC,GAAWA,EAAU,KAAK,EAAEA,EAAU,sFAAc,OAAaG,EAASF,EAAK,EAAE,QAAQA,EAAK,KAAK,IAAA,GAAU,MAAoBb,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,gBAAgBS,EAAM,aAAaC,EAAOI,YAAU,eAAeC,EAAS,qBAAqBA,CAAQ,CAAC,CAAC,CAAE,C,sCAACV,EAAoBE,EAAU,CAAC,MAAM,CAAC,KAAKD,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,aAAa,GAAG,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,KAAKA,EAAY,QAAQ,MAAM,SAAS,aAAa,EAAI,EAAE,UAAU,CAAC,KAAKA,EAAY,OAAO,MAAM,WAAW,aAAa,GAAG,YAAY,wCAAwC,YAAY,8CAA8C,OAAOW,GAAG,CAACA,EAAE,MAAM,EAAE,KAAK,CAAC,KAAKX,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,CAAC,CAAC,C"}