1import{X as S,A as $,i as M,B as r,a9 as d,u as k}from"./DOWBLzvA.js";const x=({image:i,width:t,height:c,webp:u})=>{const{$getImage:s}=S();let e=s.image(i);return c&&(e=e.height(c)),u&&(e=e.format("webp")),e.width(t).fit("max").url()},j=({title:i,seo:t,heroImage:c,scripts:u=[],meta:s=[]})=>{const e=k(),f=$(),a=M(),l=r(()=>t!=null&&t.title?`${t.title} - ${a.title}`:i?`${i} - ${a.title}`:a.title),o=r(()=>{var n;return(t==null?void 0:t.description)||((n=a.seo)==null?void 0:n.description)||""}),g=r(()=>{var p;const n=(t==null?void 0:t.image)||c||((p=a.seo)==null?void 0:p.image)||null;return n?x({image:n,width:1200,height:630}):""}),m=r(()=>`${e.public.siteUrl}${f.path}`),v=r(()=>({"@context":"https://schema.org","@type":"WebPage",name:l.value,description:o.value,url:m.value,image:g.value})),y=[...[{name:"description",content:()=>o.value},{property:"og:title",content:()=>l.value},{property:"og:description",content:()=>o.value},{property:"og:image",content:()=>g.value},{property:"og:type",content:"website"},{property:"og:url",content:()=>m.value},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:()=>l.value},{name:"twitter:description",content:()=>o.value},{name:"twitter:image",content:()=>g.value}].filter(n=>Object.keys(n).length>0),...s],b=[...[{type:"application/ld+json",innerHTML:JSON.stringify(v.value)}],...u];d({title:l.value,meta:y,link:[{rel:"canonical",href:()=>m.value}],script:b});const h=r(()=>({"locked-mobile":a.activeMenuMobile})),w=r(()=>({[`theme-background--${a.colorBackground??"secondary"}`]:!0}));d({htmlAttrs:{class:h},bodyAttrs:{class:w}})};export{x as g,j as u};
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.