1import{_ as h}from"./hvnSl1EJ.js";import{_ as k,f as T}from"./BfUYzQna.js";import{e as x,f as C,D as B,j as R,E as f,G as w,u as D,c as p,m as N,l as P,n as a,b as $,a as b,t as j,o as s,H as A}from"./Bcs_NwEm.js";import{u as E}from"./B5mAtAXT.js";import"./2ruYUPME.js";import"./5TdI7TNq.js";import"./Db8xi0CW.js";import"./DlAUqK2U.js";import"./B9GYCAbm.js";import"./BWH5h7zd.js";import"./BIu38tNJ.js";import"./BRLTZyZl.js";import"./BtLVrN7B.js";import"./C3KLnbZF.js";import"./CYMf82zc.js";import"./Dla3y5is.js";import"./Dpdp0QYK.js";import"./BJlMqvan.js";import"./CnOPAmwf.js";import"./CntMTLcG.js";import"./fZgLquya.js";import"./n_-0Cuwb.js";import"./DHZXg0WH.js";const I={key:0,class:"fixed inset-0 z-10 bg-white flex justify-center items-center overflow-hidden"},M={key:1,class:"flex justify-center items-center h-screen text-red-500"},pe=x({__name:"[...path]",async setup(V){let n,c;const m=C(),l=B().public.appBase,{data:u,status:_,error:g}=([n,c]=R(()=>E()),n=await n,c(),n);function y(t){const d=t.content_type?.template?.some(o=>o.component?.markup==="RegisterBlock")??!1,i=t.content?.some(o=>o.component?.markup==="RegisterBlock")??!1;let r=t.content_type?.template??[];return d&&i&&(r=t.content_type?.template?.filter(o=>o.component?.markup!=="RegisterBlock")??[]),r}const e=f(()=>{if(!u.value)return;const t=u.value?.results;return t?.content_type&&(t.content_type.template=y(t)),t}),v=f(()=>e.value?T(e.value):[]);return A("article",e),w({title:()=>e.value?.seo_page_title??"The Paypers",description:()=>e.value?.meta_description,ogType:()=>"article",ogTitle:()=>e.value?.seo_page_title??"The Paypers",ogDescription:()=>e.value?.meta_description,ogImage:()=>e.value?.image?.[0]?.cdn,ogUrl:()=>`${l}${m.path}`,twitterCard:()=>"summary",twitterTitle:()=>e.value?.seo_page_title??"The Paypers",twitterDescription:()=>e.value?.meta_description,twitterImage:()=>e.value?.image?.[0]?.cdn}),D(()=>({link:[{rel:"canonical",href:`${l}${m.path}`}]})),(t,d)=>{const i=h,r=k;return s(),p("div",null,[a(_)==="pending"?(s(),p("div",I,[$(i,{src:"the-paypers.svg",alt:"The Paypers",loading:"eager",class:"animate-pulse"})])):N("",!0),a(_)==="error"?(s(),p("div",M,[b("div",null,"Fatal Error: "+j(a(g)?.message),1)])):(s(),P(r,{key:2,content:a(v)},null,8,["content"]))])}}});export{pe 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.