1import{_ as D}from"./BnN8vKS5.js";import{u as $}from"./BV-w7Ed6.js";import{u as w,a as S}from"./DabNbTk0.js";import{v}from"./B4mcsN4I.js";import{c as x}from"./D-ggCROP.js";import{ar as T,b7 as k,y as d,p as C,a$ as l,aF as I,aB as U,ay as b,l as t,O as A}from"./Dk1htRXz.js";import{u as B}from"./BXn2-bK-.js";import{s as N}from"./QDQBAYoH.js";import"./WUqNJ090.js";import"./CLPi_r7N.js";import"./DFYnBvt3.js";import"./TE10va-Q.js";import"./CXpTZySS.js";import"./C7d7nzmC.js";import"./DlAUqK2U.js";const W={__name:"index",async setup(R){let c,u;const e=$(),n=w(),i=S(),o=T(),g=A(),{data:_,error:f}=([c,u]=k(()=>B(()=>`page-${o.params.id1}-${o.params.id2}`,async()=>{const a=o.params.id1,s=o.params.id2;if(!v(a,s))throw d({statusCode:404,message:"This page could not be found"});const r=a+"_"+s;return e.getPageById(r)},{watch:[()=>o.params.id1,()=>o.params.id2]})),c=await c,u(),c);if(f.value)throw d({statusCode:404,message:"This page could not be found"});C(_,a=>{a&&(e.currentPage=a)},{immediate:!0});const p=t(()=>e.currentPage?.title||""),y=t(()=>{const a=n.settings?.socialMediaItems;return a?.length>0?a.map(s=>s.linkUrl):[]}),P=t(()=>({"@context":n.settings?.structuredData?.context,"@type":n.settings?.structuredData?.type,name:e.currentPage?.title?i.site_name+": "+e.currentPage.title:i.site_name,description:e.currentPage?.seoDescription||n.settings?.structuredData?.description,url:i.site_url+o.path,logo:n.settings?.structuredData?.logoUrl,contactPoint:[{"@type":n.settings?.structuredData?.contactPointType,telephone:n.settings?.structuredData?.contactPointTelephone,contactType:n.settings?.structuredData?.contactPointContactType}],sameAs:y.value}));l({title:t(()=>`${p.value} | ${i.site_name}`),meta:[{name:"description",content:t(()=>e.currentPage?.seoDescription||"")},{name:"keywords",content:t(()=>e.currentPage?.seoKeywords||"")},{property:"og:title",content:t(()=>`${p.value} | ${i.site_name}`)},{property:"og:description",content:t(()=>e.currentPage?.seoDescription||"")},{property:"og:image",content:t(()=>N(e.currentPage?.seoImage))}],script:[{type:"application/ld+json",innerHTML:t(()=>JSON.stringify(P.value))}],link:t(()=>{const a=e.currentPage,s=o.params.id1,r=o.params.id2,m=x(a?.canonicalUrl)||(s&&s!=="undefined"&&r&&r!=="undefined"?`${g.public.siteUrl}/${s}/${r}`:null);return m?[{rel:"canonical",href:m}]:[]})});const h=["/sign-up/thanks"];return l({meta:t(()=>h.includes(o.path)?[{name:"robots",content:"noindex, nofollow"}]:[])}),(a,s)=>{const r=D;return b(),I("div",null,[U(r)])}}};export{W 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.