import{u as i,a as m,r as a,R as e,S as d,F as u,B as r,H as p,T as h,L as s,b as c}from"./index-DnDa_30t.js";import{H as g}from"./Helmet-tDWpWdZ8.js";import{n as E}from"./noData-Dt94hPJM.js";import{F as x}from"./index.esm-8eeMStuO.js";function R(){const t=i(),n=m(),o=a.useMemo(()=>n.pathname.includes("/news/a/"),[n]),l=a.useMemo(()=>{if(o)return window.location.origin+n.pathname.replace("/news/a/","/news/b/")},[o]);return a.useEffect(()=>{window&&(window.prerenderReady=!0)},[]),e.createElement(e.Fragment,null,e.createElement(g,null,e.createElement("meta",{name:"prerender-status-code",content:"410"})),e.createElement("main",{style:{minHeight:"100vh"},id:"main"},e.createElement(d,null),e.createElement(u,{my:"20",direction:"column",align:"center"},e.createElement(r,{maxW:"20rem"},e.createElement("img",{height:"100%",width:"100%",src:E,alt:"empty clipboards - no data"})),e.createElement(r,{flexDirection:"column",display:"flex",alignItems:"center"},e.createElement(p,{as:"h2",width:{base:"90%",lg:"100%"},textAlign:"center"},"Oops, we couldn't find that page"),o&&e.createElement(r,{width:{base:"90%",lg:"80%",xl:"70%"}},e.createElement(h,{textAlign:"left",mt:"2rem"},"The URL you are looking for may have moved here:")," ",e.createElement(s,{as:c,to:l,color:"#38761E",width:{base:"90%",lg:"80%",xl:"70%"},_hover:{textDecoration:"none"}},l)),e.createElement(s,{as:c,to:"/news",color:t.colors.Green130,mt:o?"4rem":"1rem",width:{base:"90%",lg:"80%",xl:"70%"},_hover:{textDecoration:"none"}},e.createElement(r,{border:`2px solid ${t.colors.Black}`,borderRadius:"5px",display:"flex",padding:"0.75rem 0.5rem",fontWeight:"600",justifyContent:"center",_hover:{backgroundColor:t.colors.Green10,borderColor:t.colors.Green130,color:t.colors.Black}},e.createElement(r,{border:`1px solid ${t.colors.Black}`,borderRadius:"50%",padding:"5px",marginRight:"0.5rem"},e.createElement(x,{size:"1rem"})),"Search for other news content"))))))}export{R as default};