1import{H as V,y as p,d as i,c as d,w as a,e as o,V as b,U as w,k as t,f as S,n as h,j as y,s as z,x as C,r as O,o as $,b as j,m as B}from"./DHGTtAq-.js";import{u as x}from"./DIstO6bo.js";import{V as H,b as D}from"./CKyHcaV6.js";import{V as L}from"./DOEOSaDp.js";import{I as M}from"./CJSXJ1R0.js";import{o as N}from"./CSPk_yxa.js";import{u as P}from"./C5PwCLp7.js";import{u as A}from"./CsLWVD8V.js";import"./m2BY_hTd.js";const R={__name:"Default",props:{profile:{type:String,required:!0}},setup(_){const{primary:e,zoneSettings:r,zoneContent:u}=V(x()),c=p(()=>{var l;let s=(l=r.value)==null?void 0:l.profileTitle;return typeof s=="boolean"&&s===!1}),f=p(()=>[u.value.backgroundInner?"background:"+u.value.backgroundInner:"background: transparent"].join(";"));return(s,l)=>(i(),d(y,{"no-gutters":""},{default:a(()=>[o(b,{cols:"12","mt-2":""},{default:a(()=>[o(H,{flat:"",style:w([t(f),t(r).layout.background==="black"?"background: black; color: white":""])},{default:a(()=>[t(c)?h("",!0):(i(),d(L,{key:0,style:w("color:"+t(e)),class:"pl-3"},{default:a(()=>l[0]||(l[0]=[S("h1",{class:"profile-title"},"Profile",-1)])),_:1},8,["style"])),o(D,{innerHTML:_.profile},null,8,["innerHTML"])]),_:1},8,["style"])]),_:1})]),_:1}))}},X={__name:"about",props:["officeData"],async setup(_){let e,r;const{description:u,contributor:c}=P(),{zoneSettings:f}=V(x()),{fetchOfficeProfile:s,fetchOfficeContact:l}=N(),m=z(),{data:T}=([e,r]=C(()=>A("officeProfile",()=>s(m.params.name))),e=await e,r(),e),{data:g}=([e,r]=C(()=>A("officeContact",()=>l(m.params.name))),e=await e,r(),e),k=O(null),v=p(()=>f.value.layout.primaryColor);return $(()=>{[...k.value.querySelectorAll("a")].forEach(n=>{n.getAttribute("style")==null||n.getAttribute("style")==""?n.style.color=v.value:n.getAttribute("style").includes("color")||(n.style.color=v.value)})}),j({title:`About ${c.value} | ITWeb`,link:[{rel:"canonical",href:`https://www.itweb.co.za/office/${m.params.name}/about`}],meta:[{property:"og:title",hid:"og:title",content:`About ${c.value} | ITWeb`},{name:"title",hid:"title",content:`About ${c.value} | ITWeb`},{name:"description",hid:"description",content:u.value}]}),(I,n)=>(i(),B("div",{class:"office-about mt-6",ref_key:"officeAbout",ref:k},[o(y,{"no-gutters":"",justify:"center"},{default:a(()=>[o(b,{cols:"12",md:"10",lg:"8",xl:"6"},{default:a(()=>[o(t(R),{profile:t(T)},null,8,["profile"])]),_:1})]),_:1}),o(y,{"no-gutters":"",justify:"center"},{default:a(()=>[o(b,{cols:"12",md:"10",lg:"8",xl:"6"},{default:a(()=>[t(g)?(i(),d(t(M),{key:0,class:"mb-2",contacts:t(g),type:"default"},null,8,["contacts"])):h("",!0)]),_:1})]),_:1})],512))}};export{X 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.