1import{_ as g}from"./ettF49K9.js";import{E as x,f as k,u as v,X as l,c as o,a1 as e,b as m,d,t as c,a as y,w,s as B,l as N,a3 as A,o as n}from"./BwjkGPNs.js";import{u as V}from"./BuqZ8ahG.js";import{u as b}from"./BUYY04tP.js";const z={class:"redirect-page"},C={key:0,class:"loading"},D={key:1,class:"error"},H={__name:"[id]",async setup(E){let t,a;const r=x(),{getMatch:p}=k(),{localizedPath:i}=V(),{t:s}=v(),_=B(!1),{data:u}=([t,a]=l(()=>b(`match-redirect-${r.params.id}`,()=>p(r.params.id))),t=await t,a(),t);return u.value?.slug?([t,a]=l(()=>A(i(`/${u.value.slug}`),{})),await t,a()):_.value=!0,(I,L)=>{const f=g,h=N;return n(),o("div",z,[e(_)?(n(),o("div",D,[y("h2",null,c(e(s)("match.not_found","Match not found")),1),m(h,{to:e(i)("/")},{default:w(()=>[d(c(e(s)("match.back_to_home","Back to Home")),1)]),_:1},8,["to"])])):(n(),o("div",C,[m(f,{name:"fa-spinner",cls:"fa-spin"}),d(" "+c(e(s)("match.redirecting","Redirecting...")),1)]))])}}};export{H as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.