{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/nsY6SDljDbJsE0LTkhfA/HYcLXlCwnYwqdVbanBFR/DynamicIframeFSLaunchASIN.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n */export default function DynamicIframeFSLaunchASIN(props){/*#__PURE__*/_jsx(\"iframe\",{width:\"600\",height:\"450\",src:\"https://lookerstudio.google.com/embed/reporting/aa189e3b-e052-4b38-a6b6-714a0f943376/page/p_nyaj3c2ked\",frameborder:\"0\",style:\"border:0\",allowfullscreen:true,sandbox:\"allow-storage-access-by-user-activation allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox\"});// - Find inspiration: https://www.framer.com/developers/\nReact.useEffect(()=>{const currentURL=window.location.href;const encodedURL=encodeURIComponent(currentURL);const jsonParams=`%7B%22ds135.Website_URL%22%3A%22${encodedURL}%22%7D`;const reportURL=`https://lookerstudio.google.com/embed/reporting/aa189e3b-e052-4b38-a6b6-714a0f943376/page/p_nyaj3c2ked`;const iframe=document.getElementById(\"dynamic-iframe\");if(iframe){iframe.src=reportURL;}// Dynamic resizing based on content\nwindow.addEventListener(\"message\",event=>{if(event.origin===\"https://lookerstudio.google.com\"&&event.data.height){iframe.style.height=`${event.data.height}px`;}});},[]);return /*#__PURE__*/_jsx(\"iframe\",{id:\"dynamic-iframe\",width:\"100%\",height:\"100%\",frameBorder:\"0\",scrolling:\"no\",style:{border:0,overflow:\"hidden\",width:\"100%\",height:\"100%\"},allowFullScreen:true,sandbox:\"allow-storage-access-by-user-activation allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox\"});}// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\n/*\nconst containerStyle: CSSProperties = {\n    width: \"100%\",\n    height: \"100vh\", // Ensure full height of the viewport\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\",\n    position: \"relative\", // Correct type for 'position'\n    overflow: \"auto\", // Allow scrolling at the container level\n}\n */\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DynamicIframeFSLaunchASIN\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DynamicIframeFSLaunchASIN.map"],
  "mappings": "yFASkB,SAARA,EAA2CC,EAAM,CAC3D,OAAMC,EAAU,IAAI,CAAC,IAAMC,EAAWC,EAAO,SAAS,KAA2DC,EAAW,mCAAhD,mBAAmBF,CAAU,CAAgE,SAAeG,EAAU,yGAA+GC,EAAO,SAAS,eAAe,gBAAgB,EAAKA,IAAQA,EAAO,IAAID,GACxXF,EAAO,iBAAiB,UAAUI,GAAO,CAAIA,EAAM,SAAS,mCAAmCA,EAAM,KAAK,SAAQD,EAAO,MAAM,OAAO,GAAGC,EAAM,KAAK,MAAM,KAAM,CAAC,CAAE,EAAE,CAAC,CAAC,EAAsBC,EAAK,SAAS,CAAC,GAAG,iBAAiB,MAAM,OAAO,OAAO,OAAO,YAAY,IAAI,UAAU,KAAK,MAAM,CAAC,OAAO,EAAE,SAAS,SAAS,MAAM,OAAO,OAAO,MAAM,EAAE,gBAAgB,GAAK,QAAQ,qHAAqH,CAAC,CAAE",
  "names": ["DynamicIframeFSLaunchASIN", "props", "ue", "currentURL", "window", "jsonParams", "reportURL", "iframe", "event", "p"]
}
