{"version":3,"file":"CalculatorEmbed.nWSbi63f.mjs","names":["React.useRef"],"sources":["https:/framerusercontent.com/modules/IS6awJLAme0JVzQI3cMb/1yv2hdiZeNoSdV4EBS56/CalculatorEmbed.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";function useContainerWidth(){const ref=React.useRef(null);return{ref};}export default function CalculatorEmbed(){const calculatorUrl=\"https://lumoenergy.github.io/lumo-saving-calculator\";const{ref}=useContainerWidth();let height=1350;return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:`${calculatorUrl}`,style:{display:\"block\",width:\"100%\",height,border:0},scrolling:\"no\",loading:\"lazy\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CalculatorEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CalculatorEmbed.map"],"mappings":"kHAAuE,SAAS,GAAmB,CAA8B,MAAM,CAAC,IAA1BA,EAAa,KAAK,CAAY,CAAE,SAAwB,GAAiB,CAAC,GAA+E,CAAC,OAAK,GAAmB,CAAiB,OAAoB,EAAK,MAAM,CAAK,MAAI,MAAM,CAAC,MAAM,OAAO,CAAC,SAAsB,EAAK,SAAS,CAAC,IAAI,sDAAmB,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAlK,KAAyK,OAAO,EAAE,CAAC,UAAU,KAAK,QAAQ,OAAO,CAAC,CAAC,CAAC,kBAArd,IAA4B"}