1import{u as i,a as l,b as p,_}from"./nkdQkkI8.js";import{e as m,f,g as d,h as k,i as a,o as h,j as g,k as x}from"./BY9XnBK7.js";import"./IoZF5mcf.js";const D=m({__name:"[token]",async setup(y){let e,o;const r=f().params.token,n=i(),{data:t,error:s}=([e,o]=d(()=>l(`draft:${r}`,()=>n.getDraftByToken(r))),e=await e,o(),e);if(s.value||!t.value)throw k({statusCode:404,statusMessage:"Draft not found"});const c=p().href;return(w,A)=>{const u=_;return a(t)?(h(),g(u,{key:0,article:a(t),"publisher-name":a(t).projectName??"","canonical-url":a(c),"force-noindex":!0},null,8,["article","publisher-name","canonical-url"])):x("",!0)}}});export{D 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.