1import{b as N}from"./Footer.8f6883fd.js";import{I as x,S as y,f as D,w as S,j as o,d as t,l as d,y as n,Z as b,G as k,i as a,a3 as L,u as A}from"./entry.09072d43.js";import{u as B}from"./useFetchSimpleList.d17fa33c.js";import{S as C}from"./SinglePost.16f355b2.js";import{u as H}from"./UseFetchItem.6a00ad06.js";import"./IconMail.75d0801c.js";const I={key:0,class:"bg-white h-screen w-screen overflow-hidden fixed inset-0 z-50"},R={key:1},M={__name:"[slug]",setup(V){const{$bus:f}=A(),{list:_,fetchList:h}=x(),{selectOptions:g,fetchSimpleList:F}=B(),{loading:i,item:r,fetchItem:w}=H(),v=y();return D(async()=>{await h("navbar",1e3),await F("posts")}),S(g,async c=>{var u,p;const l=(u=v.currentRoute.value.params)==null?void 0:u.slug,e=(p=c.items)==null?void 0:p.find(s=>s.fields.slug===l),m=e==null?void 0:e.contentID;m&&(await w(m),f.$emit("loading",!1)),L({title:()=>{var s;return((s=e==null?void 0:e.fields)==null?void 0:s.title)+" | Northcrest Developments"||"Northcrest Developments"},htmlAttrs:{lang:"en"}})}),(c,l)=>{const e=N;return a(),o(k,null,[t(i)?(a(),o("div",I)):d("",!0),t(i)?d("",!0):(a(),o("div",R,[n(b,{fields:{logoColor:t(r).properties.referenceName==="posts"?"#000000":"#FFFFFF",addYZDlogo:!0},"menu-items":t(_).items},null,8,["fields","menu-items"]),n(C,{item:t(r)},null,8,["item"]),n(e)]))],64)}}};export{M 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.