{"version":3,"file":"FeatureScreenshotOverlay.DybG53hL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/PgQ3WBVRcJBf0SCxxb0m/D1BfUKt1gaOLbemAtbOL/FeatureScreenshotOverlay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";const placementCases={\"BBMqZdhIo\":\"left\",\"ExnpL6Lkj\":\"right\",\"gwic5AsS7\":\"center\",\"u9KdixHTE\":\"bottom\",\"XlqAWTPjw\":\"left\",\"cq7vYSJUj\":\"right\",\"waH_TsO0z\":\"center\",\"ShjNJJHiu\":\"bottom\",\"JV903IAvx\":\"left\",\"sqtuu2ja4\":\"right\",\"wNZ_9w9z_\":\"center\",\"M_LnQuQFd\":\"bottom\",\"ErUiWNT_v\":\"left\",\"c1mqISNfe\":\"right\",\"xrhCDleHy\":\"center\",\"jMGD_rNyF\":\"bottom\",\"CAowhSWPw\":\"left\",\"UrCtmknn7\":\"right\",\"nJ49Q8w62\":\"center\",\"t2A9bWfal\":\"bottom\"};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FeatureScreenshotOverlay(props){const{de,en,placement=\"center\",panelColor=\"#F7F8FA\",style}=props;const{activeLocale}=useLocaleInfo();const german=!activeLocale||(activeLocale.code??\"\").startsWith(\"de\");const selected=german?de:en;const image=selected?.src?selected:de?.src?de:en;const requested=placementCases[placement]??placement.toLowerCase();const position=[\"left\",\"right\",\"center\",\"bottom\"].includes(requested)?requested:\"center\";if(!image?.src)return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",pointerEvents:\"none\"}});const side=position===\"left\"||position===\"right\";return /*#__PURE__*/_jsx(\"div\",{\"data-feature-overlay\":position,style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",pointerEvents:\"none\",display:\"flex\",boxSizing:\"border-box\",padding:\"6%\",justifyContent:position===\"left\"?\"flex-start\":position===\"right\"?\"flex-end\":\"center\",alignItems:position===\"bottom\"?\"flex-end\":\"center\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:side?\"80%\":\"100%\",height:position===\"bottom\"?\"72%\":\"82%\",display:\"flex\",alignItems:position===\"bottom\"?\"flex-end\":\"center\",justifyContent:position===\"left\"?\"flex-start\":position===\"right\"?\"flex-end\":\"center\"},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,sizes:\"(min-width: 1200px) 480px, (min-width: 810px) 340px, 86vw\",alt:image.alt??\"\",loading:\"lazy\",decoding:\"async\",style:{display:\"block\",width:\"auto\",height:\"auto\",maxWidth:\"100%\",maxHeight:\"100%\",objectFit:\"contain\",objectPosition:\"center\",boxSizing:\"border-box\",padding:8,background:panelColor,border:\"1px solid rgba(8,17,38,.10)\",borderRadius:12,boxShadow:\"0 2px 4px rgba(8,17,38,.08), 0 16px 40px rgba(8,17,38,.20)\"}})})});}addPropertyControls(FeatureScreenshotOverlay,{de:{type:ControlType.ResponsiveImage,title:\"German\"},en:{type:ControlType.ResponsiveImage,title:\"English\"},placement:{type:ControlType.String,title:\"Placement\",defaultValue:\"center\"},panelColor:{type:ControlType.Color,title:\"Panel\",defaultValue:\"#F7F8FA\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FeatureScreenshotOverlay\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FeatureScreenshotOverlay.map"],"mappings":"qKAGG,SAAwB,EAAyB,EAAM,CAAC,GAAK,CAAC,KAAG,KAAG,YAAU,SAAS,aAAW,UAAU,SAAO,EAAW,CAAC,gBAAc,EAAc,EAA6E,EAA9D,CAAC,IAAe,EAAa,MAAM,GAAA,CAAI,WAAW,IAAI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