1import{_ as h}from"./occ9TgVQ.js";import{f as v,r as S,o as w,g as x,h as b,i as C,w as P,b as k,u as B,k as A,c as T,l as c,d as $,m,q as H,p as a,P as D,S as I,j as N,e as u,n as R,t as U}from"./D6kZnXXN.js";import{_ as V}from"./xQv8JrSA.js";import{g as i}from"./CB87Sc6I.js";import{S as Z}from"./Cv03IO65.js";import{c as j}from"./DexT7Mrr.js";const q={class:"page-body"},K=v({__name:"[uid]",async setup(E){let t,r;i.registerPlugin(Z);const _=S();let l;w(()=>{l=i.context(s=>{i.from(".page-body",{y:20,opacity:0,delay:.8})},_.value)}),x(()=>{l.revert()});const{locale:n}=b(),o=B(),p=C(),{data:e}=([t,r]=P(()=>N(p.params.uid,()=>o.client.getByUID("news_updates_page",p.params.uid,{lang:n.value}),{watch:[n]})),t=await t,r(),t);return k({htmlAttrs:{lang:n.value.slice(0,2)},title:o.asText(e.value?.data.page_heading),meta:[{name:"description",content:o.asText(e.value?.data.page_introduction_copy)},{name:"og:description",content:o.asText(e.value?.data.page_introduction_copy)}]}),A(e,()=>{U().value=e.value?.alternate_languages||[]},{immediate:!0}),(s,L)=>{const d=h,g=R,f=V,y=I;return u(),T("div",null,[c(f,{position:"top"},{default:m(()=>[c(g,{container:"section"},{default:m(()=>[c(d,{heading:a(e)?.data.page_heading,tags:a(e)?.data.tags,body:a(e)?.data.page_introduction_copy},null,8,["heading","tags","body"])]),_:1})]),_:1}),$("main",q,[(u(),H(y,{key:(s._.provides[D]||s.$route).fullPath,slices:a(e)?.data.slices??[],components:a(j)},null,8,["slices","components"]))])])}}});export{K 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.