1import{_,K as d,J as l,p as f,u as g,D as n,W as m,ac as r,a as v,o as w}from"./Do1nZpFk.js";import"./BM5aYONo.js";const k={class:"funnes-redirecting"},x={__name:"[hash]",setup(C){const i=d(),c=l().params.hash,u=m();return f(async()=>{const{project:a}=g(),e=n("visit-hash").value,o={};e&&(o.headers={"Visit-Hash":e});let s=null;const h=`${u.public.apiBase}/api/site/${a.getProject.subdomain}/funnel/source/${c}`;try{const t=await fetch(h,o);if(!t.ok)return r({statusCode:t.status,message:"HTTP error "+t.status});if(s=await t.json(),s=s.data,!e){const p=n("visit-hash",{expires:new Date(new Date().setMonth(new Date().getMonth()+1))});p.value=s.visit_hash}i.push(`/${s.page.slug}`)}catch{return r({statusCode:404,statusMessage:"Page Not Found"})}}),(a,e)=>(w(),v("div",k,"Redirecting..."))}},M=_(x,[["__scopeId","data-v-8d1daaf6"]]);export{M 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.