{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/qfOA6mrqUm5liVURgqj9/XyX8xmpoqa9JQlEoK8ca/PopupControl.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Utility to check query param\nfunction getQueryParam(key){if(typeof window===\"undefined\")return null;return new URLSearchParams(window.location.search).get(key);}// This override runs on page load and shows the overlay manually\nexport function AutoShowOverlay(props){const{overlay}=props;useEffect(()=>{const download=getQueryParam(\"download\");if(download===\"report\"){props.click();}},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withAutoShowOverlay(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...AutoShowOverlay(props)});};}withAutoShowOverlay.displayName=\"AutoShowOverlay\";\nexport const __FramerMetadata__ = {\"exports\":{\"AutoShowOverlay\":{\"type\":\"override\",\"name\":\"AutoShowOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAutoShowOverlay\":{\"type\":\"reactHoc\",\"name\":\"withAutoShowOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PopupControl.map"],
  "mappings": "oIACA,SAASA,EAAcC,EAAI,CAAC,OAAG,OAAOC,EAAS,IAAmB,KAAY,IAAI,gBAAgBA,EAAO,SAAS,MAAM,EAAE,IAAID,CAAG,CAAE,CAC5H,SAASE,EAAgBC,EAAM,CAAC,GAAK,CAAC,QAAAC,CAAO,EAAED,EAAM,OAAAE,EAAU,IAAI,CAAgBN,EAAc,UAAU,IAAgB,UAAUI,EAAM,MAAM,CAAG,EAAE,CAAC,CAAC,EAAQ,CAAC,CAAE,CAA2J,SAASG,EAAoBC,EAAE,CAAC,OAAOJ,IAAQK,EAA+BC,CAAuC,EAASC,EAAKH,EAAE,CAAC,GAAGJ,EAAM,GAAGD,EAAgBC,CAAK,CAAC,CAAC,EAAI,CAACG,EAAoB,YAAY",
  "names": ["getQueryParam", "key", "window", "AutoShowOverlay", "props", "overlay", "ue", "withAutoShowOverlay", "C", "re", "DataObserverContext", "p"]
}
