1import{_ as A}from"./DxKeRMn0.js";import{_ as E}from"./CohYw0n8.js";import{_ as M}from"./BYtD5L-j.js";import{_ as N}from"./ryySyG2b.js";import{g as V,l as Z,u as j,q as v,n as k,A as C,z as q,b as z,B as x,d as o,c as G,s as a,j as s,h as n,w as R,x as F,S as J,C as K,t as L,D as O}from"./Bq4NwA-G.js";import{u as Q}from"./CsRmmyFY.js";import{g as W}from"./D0pYht-b.js";import{h as X}from"./Cc5ikwSx.js";import"./CJUmZCFQ.js";import"./CAYa8CYt.js";const lt=V({__name:"[uid]",props:{pageData:{},pageType:{}},async setup(S){var f,g,y,D;let e,c;const r=S,p=Z(),{client:T}=j(),i=Q();if(!i)throw v({statusCode:404,fatal:!0});const w=(f=p.params.controller)==null?void 0:f.toString(),P=(g=p.params.uid)==null?void 0:g.toString(),{data:t,error:m}=([e,c]=k(()=>F(`${w}-${P}-${r.pageType}`,()=>T.getByID(i),{getCachedData(u,l){return l.payload.data[u]||l.static.data[u]}})),e=await e,c(),e);if(m.value||!t.value)throw v({statusCode:((y=m.value)==null?void 0:y.statusCode)||404,fatal:!0});const _=((D=t.value.data.page_header)==null?void 0:D[0])||null,b=t.value&&(C(t.value.data.pop_up_title)||C(t.value.data.pop_up_content)),d=q(r.pageData)?r.pageData.data.modal_popup_url:null;return z({title:(t.value.data.head_title||x(t.value.data.page_title))+X,meta:([e,c]=k(()=>W(t.value.data)),e=await e,c(),e)}),(u,l)=>{var h;const $=A,B=E,I=M,H=N,U=J;return o(),G("div",null,[a(_)?(o(),s($,{key:0,content:a(_)},null,8,["content"])):n("",!0),a(b)?(o(),s(B,{key:1,content:a(t).data},null,8,["content"])):n("",!0),a(d)?(o(),s(I,{key:2,src:a(d)},null,8,["src"])):n("",!0),(h=a(t))!=null&&h.data.sticky_title?(o(),s(H,{key:3},{default:R(()=>[K(L(a(x)(a(t).data.sticky_title)),1)]),_:1})):n("",!0),a(t)?(o(),s(U,{key:4,components:a(O),slices:a(t).data.body},null,8,["components","slices"])):n("",!0)])}}});export{lt 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.