{"version":3,"file":"ExternalLinks.CD6WVkzc.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/Qg387g1jplm34C5qc21r/vqxm7zoxYxzLFOuF7VOj/ExternalLinks.js"],"sourcesContent":["// Planta template · Adds rel=\"noopener\" to new-tab links inside a frame. Override: withNoopener.\n// Planta — adds rel=\"noopener\" to every target=\"_blank\" link inside the frame it's applied to.\n// Framer's link.rel only offers nofollow/noreferrer/me/ugc/sponsored, so this covers the brief's\n// \"new tab, rel=noopener\" (Footer › Social, Footer › Legal credit). Wrapper uses display:contents,\n// so the frame keeps its place in the parent stack. Runs on every mount (rule 3).\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function withNoopener(Component){return function Noopener(props){const ref=useRef(null);useEffect(()=>{ref.current?.querySelectorAll('a[target=\"_blank\"]').forEach(a=>{const rel=new Set((a.rel||\"\").split(/\\s+/).filter(Boolean));rel.add(\"noopener\");a.rel=[...rel].join(\" \");});});return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withNoopener\":{\"type\":\"reactHoc\",\"name\":\"withNoopener\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ExternalLinks.map"],"mappings":"yHAK+E,SAAgB,EAAa,EAAU,CAAC,OAAO,SAAkB,EAAM,CAAC,IAAM,EAAIA,EAAO,IAAI,EAAgM,OAA9L,MAAc,CAAC,EAAI,SAAS,iBAAiB,oBAAoB,CAAC,CAAC,QAAQ,GAAG,CAAC,IAAM,EAAI,IAAI,KAAK,EAAE,KAAK,GAAA,CAAI,MAAM,KAAK,CAAC,CAAC,OAAO,OAAO,CAAC,EAAE,EAAI,IAAI,UAAU,EAAE,EAAE,IAAI,CAAC,GAAG,CAAG,CAAC,CAAC,KAAK,GAAG,CAAE,CAAC,CAAE,CAAC,EAAsB,EAAK,MAAM,CAAK,MAAI,MAAM,CAAC,QAAQ,UAAU,EAAE,SAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE,iBAA1b,IAAoC"}