{"version":3,"file":"shared.BMzAm5cR.mjs","names":[],"sources":["https:/framerusercontent.com/modules/LX1HifnbjrkBU2peuLxY/KmCU523Ywp2NtFYGGI3I/HidePages.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";/**\n * @copyright ©framersnippets.com\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function HidePages(props){useEffect(()=>{const blockedPathPattern=/^\\/display\\//;const isInIframe=window.self!==window.top;if(blockedPathPattern.test(window.location.pathname)&&!isInIframe){// Redirect to the 404 page\nwindow.location.href=\"/404\";}},[]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"0px\",height:\"0px\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HidePages\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HidePages.map"],"mappings":"gIAKG,SAAwB,EAAU,EAAM,CACR,OADS,MAAc,CAAC,IAAM,EAAmB,eAAqB,EAAW,EAAO,OAAO,EAAO,IAAO,EAAmB,KAAK,EAAO,SAAS,SAAS,EAAE,CAAC,IACpM,EAAO,SAAS,KAAK,SAAU,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,MAAM,OAAO,MAAM,CAAC,CAAC,sBAN1D,IAA6B"}