{"version":3,"file":"Forward.Bo1USSYF.mjs","names":["__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","p","c","init_jsx_runtime","ce","init_framer_DcxuU94H","addPropertyControls","ControlType","Forward","props","to","init_Forward"],"sources":["https:/framerusercontent.com/modules/AaERCAWCrSGsxbe3JM4B/aTPmNVF47RXnS9MA8W3b/Forward.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";/**\n * Sends anyone who lands on an old address to the page's new one, keeping any #section or ?query, and\n * replaces the old address in their history so Back doesn't bounce them here again. The link shows\n * only for the moment before the move, or if scripts are off.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Forward(props){const{to=\"/\"}=props;useEffect(()=>{if(typeof window===\"undefined\"||!to)return;window.location.replace(to+window.location.search+window.location.hash);},[to]);return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,position:\"relative\",padding:\"120px 24px\",fontFamily:'\"Inter\", sans-serif',fontSize:16,lineHeight:\"24px\",color:\"var(--jm-ink, #0D0D0E)\",textAlign:\"center\"},children:[\"This page has moved. \",/*#__PURE__*/_jsx(\"a\",{href:to,style:{color:\"inherit\"},children:\"Go to the new page\"})]});}addPropertyControls(Forward,{to:{type:ControlType.String,title:\"To\",defaultValue:\"/\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Forward\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Forward.map"],"mappings":"A,+LAOG,SAAwBW,EAAQ,EAAM,CAAC,GAAK,CAAC,KAAG,KAAKC,EAAgJ,OAA1IL,MAAc,CAAWJ,IAAS,QAAcU,GAAUV,EAAO,SAAS,QAAQU,EAAGV,EAAO,SAAS,OAAOA,EAAO,SAAS,IAAI,CAAE,EAAE,CAACU,CAAE,CAAC,EAAsB,gBAAM,MAAM,CAAC,MAAM,CAAC,GAAGD,EAAM,MAAM,SAAS,WAAW,QAAQ,aAAa,WAAW,sBAAsB,SAAS,GAAG,WAAW,OAAO,MAAM,yBAAyB,UAAU,QAAQ,EAAE,SAAS,CAAC,wBAAqC,gBAAK,IAAI,CAAC,KAAKC,EAAG,MAAM,CAAC,MAAM,SAAS,EAAE,SAAS,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAE,C,8CAACJ,EAAoBE,EAAQ,CAAC,GAAG,CAAC,KAAKD,EAAY,OAAO,MAAM,KAAK,aAAa,GAAG,CAAC,CAAC,C"}