{"version":3,"file":"IssuuEmbed.DftRK6Z6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/N7ScU6nTg40Y9bvwrl11/fakdxlAvVenqhziDqhF4/IssuuEmbed.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";export default function IssuuEmbed({embedUrl,backgroundColor}){// Hide page scroll while on this page, restore when leaving\nuseEffect(()=>{document.body.style.overflow=\"hidden\";document.documentElement.style.overflow=\"hidden\";return()=>{document.body.style.overflow=\"\";document.documentElement.style.overflow=\"\";};},[]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",background:backgroundColor,zIndex:0},children:/*#__PURE__*/_jsx(\"iframe\",{src:embedUrl,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",border:\"none\"},allow:\"clipboard-write\",sandbox:\"allow-top-navigation allow-top-navigation-by-user-activation allow-downloads allow-scripts allow-same-origin allow-popups allow-modals allow-popups-to-escape-sandbox allow-forms\",allowFullScreen:true})});}addPropertyControls(IssuuEmbed,{embedUrl:{type:ControlType.String,title:\"Issuu Embed URL\",defaultValue:\"https://e.issuu.com/embed.html?d=holiday_26_official_catalog&u=pg26\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#0b0f14\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"IssuuEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IssuuEmbed.map"],"mappings":"qKAA4H,SAAwB,EAAW,CAAC,WAAS,mBAAiB,CACU,OAApM,OAAe,SAAS,KAAK,MAAM,SAAS,SAAS,SAAS,gBAAgB,MAAM,SAAS,aAAmB,CAAC,SAAS,KAAK,MAAM,SAAS,GAAG,SAAS,gBAAgB,MAAM,SAAS,EAAG,GAAI,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,QAAQ,IAAI,EAAE,KAAK,EAAE,MAAM,QAAQ,OAAO,QAAQ,WAAW,EAAgB,OAAO,CAAC,EAAE,SAAsB,EAAK,SAAS,CAAC,IAAI,EAAS,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,MAAM,EAAE,MAAM,kBAAkB,QAAQ,oLAAoL,gBAAgB,EAAI,CAAC,CAAC,CAAC,CAAE,iBADlpB,IAAoD,IAA6B,EACkkB,EAAoB,EAAW,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,kBAAkB,aAAa,qEAAqE,EAAE,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,CAAC,CAAC"}