1import{d as S,I as w,C as T,i as C,p as D,k as b,av as m,A as g,aF as E,f as u,o as I,e as M,g as Y,l as B,aP as R}from"./aBjaZyYQ.js";import{p as x,a as N}from"./CVGrO2pr.js";import{t as d}from"./AB2lfe3i.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"3db4da8d001cbae0206e235f3b625fa02198578d"}}catch{}})();try{(function(){var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="700ca2d0-0aa3-43bd-928f-f59e4a812179",a._sentryDebugIdIdentifier="sentry-dbid-700ca2d0-0aa3-43bd-928f-f59e4a812179")})()}catch{}const F=S({__name:"[...slug]",setup(a){var f;const t=B(),y=w(),{locale:r}=T(),_=C(),h=R(),e=D();if(e.value=_.data??void 0,!e.value)throw b({statusCode:404,statusMessage:"global.error.pageNotFound"});if(e.value.status)throw b({statusCode:e.value.status,statusMessage:e.value.response});const n=(f=e.value.content)==null?void 0:f.seo;n&&m({title:n==null?void 0:n.title,meta:[{name:"description",content:n==null?void 0:n.description},{property:"og:site_name",content:"airBaltic.com"}]});const i=e.value.translated_slugs,v=g(()=>x(i,r.value)),k=g(()=>N(e,v.value.name,r.value));return m(()=>{var s,p;if(!e.value)return{};const l=[{rel:"canonical",href:t.public.siteUrl+d(y.path)},{rel:"alternate",hreflang:"x-default",href:t.public.siteUrl+"/en/"+d((s=e.value)==null?void 0:s.default_full_slug)}];i.forEach(o=>{o!=null&&o.name&&l.push({rel:"alternate",hreflang:o.lang,href:t.public.siteUrl+"/"+o.lang+"/"+d(o.path)})});const c=h((p=e.value)==null?void 0:p.updated_at).format("YYYY-MM-DD");return{meta:[{name:"language",content:r.value},{name:"lastModified",content:c}],link:l,titleTemplate:"%s %separator"}}),(l,c)=>{const s=E("StoryblokComponent");return u(e)?(I(),M(s,{key:0,blok:u(e).content,breadcrumbs:u(k)},null,8,["blok","breadcrumbs"])):Y("",!0)}}});export{F as default}; 2//# sourceMappingURL=CvdFGgk6.js.map
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.