1import{cc as be,cv as Ce,cw as ke,cx as Ae,cy as Ie,b6 as De,aW as Le,a$ as Ve,cz as je,aV as Oe,aY as Re,aX as Ue,b8 as Qe,bs as S,cA as y,cB as $e,b7 as ze}from"./Dr_aj0OX.js";import{z as he,d as v,X as Te,u as We,R as qe}from"./bHGN7eKL.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new s.Error().stack;l&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[l]="d98c58ef-bd4a-4b16-8176-df315048a146",s._sentryDebugIdIdentifier="sentry-dbid-d98c58ef-bd4a-4b16-8176-df315048a146")}catch{}})();const Xe=s=>{const l=Object.create(null);for(const g in s){const u=s[g];u!==void 0&&(l[g]=u)}return l},Ye=(s,l)=>(g,u)=>(be(()=>s({...Xe(g),...u.attrs},u)),()=>{var f,c;return l?(c=(f=u.slots).default)==null?void 0:c.call(f):null}),Ee={accesskey:String,autocapitalize:String,autofocus:{type:Boolean,default:void 0},class:[String,Object,Array],contenteditable:{type:Boolean,default:void 0},contextmenu:String,dir:String,draggable:{type:Boolean,default:void 0},enterkeyhint:String,exportparts:String,hidden:{type:Boolean,default:void 0},id:String,inputmode:String,is:String,itemid:String,itemprop:String,itemref:String,itemscope:String,itemtype:String,lang:String,nonce:String,part:String,slot:String,spellcheck:{type:Boolean,default:void 0},style:[String,Object,Array],tabindex:String,title:String,translate:String},Ge=he({name:"Html",inheritAttrs:!1,props:{...Ee,manifest:String,version:String,xmlns:String,renderPriority:[String,Number]},setup:Ye(s=>({htmlAttrs:s}),!0)}),Me=["video","query","page","topics","state","seasons","targets","group","category","month","markets","studySource","reportPublicationYear","availability","peroid","targetGroup"];function Je(s){const l=Ce(s);l.hash="";const g=ke(l.search),u=Object.keys(g).reduce((f,c)=>(Me.includes(c)&&(f[c]=g[c]),f),{});return l.search=Ae(u),Ie(l)}const Ne=he({__name:"StoryblokPageSeo",setup(s){var x,w,H,B,C,k,A,I,D,L,V,j,O,R,U,Q,$,z,T,W,q,X,Y;const{locales:l,localeProperties:g}=De(),u=Le(),f=Ve(),{currentStory:c}=je(u),{seo:d}=Oe(),r=(w=(x=c.value)==null?void 0:x.content)==null?void 0:w.seo,Pe=v(()=>l.value.filter(t=>t&&t.code!=="de"&&t.code!=="en"&&t.code!=="nl")),b=v(()=>Pe.value.map(t=>{var n;let e=u.alternateSlugs.find(o=>t.code===o.language);if(!e&&$e(t.code)&&(e=u.alternateSlugs.find(o=>t.parent===o.language)),e!==void 0){const o=Object.assign({},e);return o.language=t.code,o.slug=(n=e.slug)!=null&&n.toLocaleLowerCase().includes("homepage")?`/${t.code}/`:ze(e.slug,t.code),o}}).filter(t=>!!t)),xe=v(()=>b.value.find(t=>t.language==="en-gb")),m=t=>{var e,n;return((e=r==null?void 0:r.at(0))==null?void 0:e[t])||((n=d==null?void 0:d.at(0))==null?void 0:n[t])||!1},h=t=>{var n,o;const e=((n=r==null?void 0:r.at(0))==null?void 0:n[t])||((o=d==null?void 0:d.at(0))==null?void 0:o[t]);return e&&Array.isArray(e)&&S(e==null?void 0:e.at(0))?e:!1},we=()=>{var n,o;const t=((n=r==null?void 0:r.at(0))==null?void 0:n.no_index)??!1,e=((o=r==null?void 0:r.at(0))==null?void 0:o.no_follow)??!1;return f==="draft"?"noindex, nofollow":[t?"noindex":"index",e?"nofollow":"follow"].join(", ")},{domain:p}=Re().public,He=Ue(),P=t=>t?t!=null&&t.startsWith("/")?y(p+t.substring(1)):y(p+t):"",Be=t=>{if(!t)return"";const e=Je(t);return e!=null&&e.startsWith("/")?y(p+e.substring(1)):y(p+e)},a=v(()=>{var M,J,K,Z,N,F,ee,te,re,ae,oe,ne,ie,se,le,ue,ge,ce,de,fe,me,pe,ye,ve,_e,Se;const t=((M=r==null?void 0:r.at(0))==null?void 0:M.title)||((J=d==null?void 0:d.at(0))==null?void 0:J.title)||((K=c.value)==null?void 0:K.name),e=(Z=c.value)==null?void 0:Z.content,n=((F=(N=e==null?void 0:e.largeHeroContent)==null?void 0:N.at(0))==null?void 0:F.heroImagePrimary.length)&&((te=(ee=e==null?void 0:e.largeHeroContent)==null?void 0:ee.at(0))==null?void 0:te.heroImagePrimary)||void 0,o=((ae=(re=e==null?void 0:e.largeHeroContent)==null?void 0:re.at(0))==null?void 0:ae.heroVideoPrimary.length)&&((ne=(oe=e==null?void 0:e.largeHeroContent)==null?void 0:oe.at(0))==null?void 0:ne.heroVideoPrimary)||void 0,E=((se=(ie=e==null?void 0:e.largeHeroContent)==null?void 0:ie.at(0))==null?void 0:se.heroImageSecondary.length)&&((ue=(le=e==null?void 0:e.largeHeroContent)==null?void 0:le.at(0))==null?void 0:ue.heroImageSecondary)||void 0,G=((ce=(ge=e==null?void 0:e.largeHeroContent)==null?void 0:ge.at(0))==null?void 0:ce.heroVideoSecondary.length)&&((fe=(de=e==null?void 0:e.largeHeroContent)==null?void 0:de.at(0))==null?void 0:fe.heroVideoSecondary)||void 0;let i=e!=null&&e.largeHero?n||o||E||G:(e==null?void 0:e.heroImage)||(e==null?void 0:e.heroImageTest)||n||o||E||G;i=(me=i==null?void 0:i.at(0))!=null&&me.mediaAsset||(pe=i==null?void 0:i.at(0))!=null&&pe.mediaAssetB2b?((ye=i==null?void 0:i.at(0))==null?void 0:ye.mediaAsset)||((ve=i==null?void 0:i.at(0))==null?void 0:ve.mediaAssetB2b):i;const _=m("description");return{seo:{title:t,description:_,og_title:m("og_title")||t,og_description:m("og_description")||_,og_image:h("og_image")||i,x_title:m("x_title")||t,x_image:h("x_image")||i,x_description:m("x_description")||_},robots:we(),canonical:((_e=r==null?void 0:r.at(0))==null?void 0:_e.canonical)||Be(He.fullPath),structuredData:(Se=r==null?void 0:r.at(0))==null?void 0:Se.structuredData}});return be({title:a.value.seo.title,meta:[a.value.seo.description&&{name:"description",content:a.value.seo.description,tagPriority:0},a.value.robots&&{name:"robots",content:a.value.robots,tagPriority:0},a.value.seo.og_title&&{property:"og:title",content:a.value.seo.og_title,tagPriority:0},a.value.seo.og_description&&{property:"og:description",content:a.value.seo.og_description,tagPriority:0},((H=a.value.seo.og_image)==null?void 0:H.length)&&{property:"og:image",content:`${(k=(C=(B=a.value.seo.og_image)==null?void 0:B.at(0))==null?void 0:C.type)!=null&&k.includes("video")?(L=(D=(I=(A=a.value.seo.og_image)==null?void 0:A.at(0))==null?void 0:I.attributes)==null?void 0:D.info)==null?void 0:L.video_thumbnail:S((V=a.value.seo.og_image)==null?void 0:V.at(0))}?gravity=auto&w=1200&h=630&dpr=1&func=crop`,tagPriority:0},a.value.seo.x_title&&{name:"twitter:title",content:a.value.seo.x_title,tagPriority:0},a.value.seo.x_description&&{name:"twitter:description",content:a.value.seo.x_description,tagPriority:0},((j=a.value.seo.x_image)==null?void 0:j.length)&&{name:"twitter:image",content:`${(U=(R=(O=a.value.seo.x_image)==null?void 0:O.at(0))==null?void 0:R.type)!=null&&U.includes("video")?(T=(z=($=(Q=a.value.seo.x_image)==null?void 0:Q.at(0))==null?void 0:$.attributes)==null?void 0:z.info)==null?void 0:T.video_thumbnail:S((W=a.value.seo.x_image)==null?void 0:W.at(0))}?gravity=auto&w=1200&h=630&dpr=1&func=crop`,tagPriority:0},{name:"twitter:card",content:"summary_large_image",tagPriority:0}
1].filter(Boolean),link:[{rel:"canonical",href:a.value.canonical},...b.value.map(t=>({rel:"alternate",hreflang:t.language,href:Qe(P(t.slug))})),{rel:"alternate",hreflang:"x-default",href:P((q=xe.value)==null?void 0:q.slug)}],script:[r&&r.length&&((X=r==null?void 0:r.at(0))==null?void 0:X.structuredData)&&{type:"application/ld+json",children:(Y=r==null?void 0:r.at(0))==null?void 0:Y.structuredData}].filter(Boolean)}),(t,e)=>{var o;const n=Ge;return qe(),Te(n,{lang:(o=t.$i18n)==null?void 0:o.locale,dir:We(g).dir||"ltr"},null,8,["lang","dir"])}}});export{Ne as _};
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.