1import{r as _,d as y,g as d,F as b,o as s,n as o,m as u,u as m,aa as h,z as p,f as k,t as S,i as v}from"./vendor.ab7d7e0e.js";import{u as g}from"./staff-members.09a781df.js";import{B as w,_ as D,D as x,i as M,j}from"./app.42a98c89.js";const B=(r,n)=>{const{view:f}=g(),a=_(!1),e=_();return{staffMember:e,loadData:async(l=!1)=>{if(l&&(e.value=void 0),!a.value){a.value=!0;try{const t=await f(r,n);e.value=t.data}catch(t){w(t)}finally{a.value=!1}}},loading:a}},T=y({layout:null,__name:"StaffShow",props:{staff_member:{}},setup(r){const n=r,f={include:["departments","contentBlocks","socialLinks.socialNetwork","headshotImage"]},a=d(()=>n.staff_member.current_team||null),{loadData:e,staffMember:c,loading:l}=B(n.staff_member.id,f);b(()=>{e()});const t=d(()=>a.value?M:j);return(i,C)=>(s(),o(p(t.value),{team:a.value},{default:u(()=>[i.staff_member.custom_json_schema?(s(),o(m(h),{key:0},{default:u(()=>[(s(),o(p("script"),{type:"application/ld+json"},{default:u(()=>[k(S(i.staff_member.custom_json_schema),1)]),_:1}))]),_:1})):v("",!0),m(l)?(s(),o(D,{key:1})):m(c)?(s(),o(x,{key:2,"staff-member":m(c),"has-team":!!a.value},null,8,["staff-member","has-team"])):v("",!0)]),_:1},8,["team"]))}});export{T 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.