{"version":3,"file":"RedirectPage.Dd9DYYAl.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5BMt2QtrAxF9JzWlQjal/MviV0Y5cdw6kf7p2yeA0/RedirectPage.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";function setRobotsMeta(){if(typeof document===\"undefined\")return;let tag=document.querySelector('meta[name=\"robots\"]');if(!tag){tag=document.createElement(\"meta\");tag.name=\"robots\";document.head.appendChild(tag);}tag.content=\"noindex,follow\";}export default function RedirectPage(props){const{target=\"/dec-tec\",message=\"Redirecting to the Dec-Tec page...\",noIndex=true}=props;useEffect(()=>{if(typeof window===\"undefined\")return;if(noIndex)setRobotsMeta();window.location.replace(target);},[target,noIndex]);return /*#__PURE__*/_jsxs(\"main\",{style:{width:\"100%\",minHeight:\"100vh\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:24,boxSizing:\"border-box\",background:\"rgb(245, 245, 247)\",color:\"rgb(0, 21, 36)\",fontFamily:\"'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif\",textAlign:\"center\"},children:[noIndex?/*#__PURE__*/_jsx(\"meta\",{name:\"robots\",content:\"noindex,follow\"}):null,/*#__PURE__*/_jsx(\"meta\",{httpEquiv:\"refresh\",content:`0;url=${target}`}),/*#__PURE__*/_jsxs(\"p\",{style:{margin:0,fontSize:16,lineHeight:\"24px\"},children:[message,\" \",/*#__PURE__*/_jsx(\"a\",{href:target,children:\"Continue\"})]})]});}addPropertyControls(RedirectPage,{target:{type:ControlType.String,title:\"Target URL\",defaultValue:\"/dec-tec\"},message:{type:ControlType.String,title:\"Message\",defaultValue:\"Redirecting to the Dec-Tec page...\"},noIndex:{type:ControlType.Boolean,title:\"Noindex\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Redirect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