{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/dL4u6fQ8jr608Pghmh7i/DnAIWGdCaTUgXAX9jp5n/BentoImage.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function BentoImage(props){const[isDarkMode,setIsDarkMode]=useState(true);// Function to check and set dark mode based on the data-theme attribute\nconst updateThemeFromAttribute=()=>{const theme=document.documentElement.getAttribute(\"data-theme\");setIsDarkMode(theme===\"dark\");};useEffect(()=>{// Initial theme setup from localStorage or media query\nupdateThemeFromAttribute();// Listen for changes to the data-theme attribute using MutationObserver\nconst observer=new MutationObserver(()=>{updateThemeFromAttribute();});// Observe mutations on the html tag for the data-theme attribute\nobserver.observe(document.documentElement,{attributes:true,attributeFilter:[\"data-theme\"]});return()=>{observer.disconnect();};},[]);// const imageUrl = isDarkMode ? props.darkModeImage : props.lightModeImage\nconst imageUrl=props.darkModeImage;return /*#__PURE__*/_jsx(\"img\",{src:imageUrl,alt:\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",objectPosition:\"center\"}});}addPropertyControls(BentoImage,{lightModeImage:{type:ControlType.Image,title:\"Light Mode Image\"},darkModeImage:{type:ControlType.Image,title:\"Dark Mode Image\"}});BentoImage.defaultProps={lightModeImage:\"\",darkModeImage:\"\",style:{}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BentoImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BentoImage.map"],
  "mappings": "gJAAAA,IAAoJ,SAARC,EAA4BC,EAAM,CAAC,GAAK,CAACC,EAAWC,CAAa,EAAEC,EAAS,EAAI,EACtNC,EAAyB,IAAI,CAAC,IAAMC,EAAM,SAAS,gBAAgB,aAAa,YAAY,EAAEH,EAAcG,IAAQ,MAAM,CAAE,EAAEC,EAAU,IAAI,CAClJF,EAAyB,EACzB,IAAMG,EAAS,IAAI,iBAAiB,IAAI,CAACH,EAAyB,CAAE,CAAC,EACrE,OAAAG,EAAS,QAAQ,SAAS,gBAAgB,CAAC,WAAW,GAAK,gBAAgB,CAAC,YAAY,CAAC,CAAC,EAAQ,IAAI,CAACA,EAAS,WAAW,CAAE,CAAE,EAAE,CAAC,CAAC,EACnI,IAAMC,EAASR,EAAM,cAAc,OAAoBS,EAAK,MAAM,CAAC,IAAID,EAAS,IAAI,GAAG,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,UAAU,eAAe,QAAQ,CAAC,CAAC,CAAE,CAACE,EAAoBX,EAAW,CAAC,eAAe,CAAC,KAAKY,EAAY,MAAM,MAAM,kBAAkB,EAAE,cAAc,CAAC,KAAKA,EAAY,MAAM,MAAM,iBAAiB,CAAC,CAAC,EAAEZ,EAAW,aAAa,CAAC,eAAe,GAAG,cAAc,GAAG,MAAM,CAAC,CAAC",
  "names": ["init_ssg_sandbox_shims", "BentoImage", "props", "isDarkMode", "setIsDarkMode", "ye", "updateThemeFromAttribute", "theme", "ue", "observer", "imageUrl", "p", "addPropertyControls", "ControlType"]
}
