PageSourceSearch

https://www.chapmanspeedway.com/_nuxt/5zbziTsU.js

js chapmanspeedway.com collected 2026-09-29 16:34:40 UTC 3,644 bytes, 1 lines download raw bytes

1import{_ as B}from"./B505b4OH.js";import{_ as I}from"./ktxDf3wv.js";import{v as C,at as O,A as j,$ as i,o as u,l as f,ae as l,ah as p,m as N,c8 as h,s as x,d as F,n as k,k as v,bn as G,aN as V,aM as z,i as $,x as H,z as K,as as R,ai as A,a3 as q,a9 as J,a4 as D,O as Q,a as T,am as U,c7 as W,av as X,t as d,_ as Y}from"./BJvA0EIL.js";import{u as y}from"./BRYAWsI8.js";import"./Cx1ahJTy.js";const Z={class:"person"},tt=["src","alt"],et={class:"details"},at={class:"name"},st=C({__name:"StaffMember",props:{person:{}},setup(m){const e=m,r=O(),n=j()?.type.__name??"",c=v(()=>{if(!e.person.phone)return"";const s=e.person.phone.slice(0,3),t=e.person.phone.slice(3,6),o=e.person.phone.slice(6,10);return`(${s}) ${t}-${o}`});function a(){G(c.value,n,r.path),V("Other"),z()}return(s,t)=>{const o=F;return i(),u("div",Z,[f("img",{src:`https://assets.chapmanchoice.com/staff/${e.person.emsId}`,alt:`${e.person.firstName} ${e.person.lastName}`,height:"150",width:"150",loading:"lazy"},null,8,tt),f("div",et,[f("div",at,l(e.person.firstName)+" "+l(e.person.lastName),1),f("div",null,l(e.person.position),1),p(c)?(i(),N(o,{key:0,to:`tel:${p(c)}`,class:"phone",onClickPassive:a},{default:h(()=>[x(l(p(c)),1)]),_:1},8,["to"])):k("",!0),e.person.email?(i(),N(o,{key:1,to:`mailto:${e.person.email}`,class:"email"},{default:h(()=>[x(" Email "+l(e.person.firstName),1)]),_:1},8,["to"])):k("",!0)])])}}}),ot=Object.assign($(st,[["__scopeId","data-v-875fa950"]]),{__name:"StaffMember"}),L=H("staff",()=>{try{K()||(console.error("Pinia is not active!"),console.trace("Attempted to create store: staff"))}catch(t){console.error("getActivePinia failed: staff",t)}const{$publicApi:m}=R(),e=A(),r=q("initial"),n=J([]),c=v(()=>n.value.filter(t=>t.department==="Parts")),a=v(()=>n.value.filter(t=>t.department==="Service"&&(t.position==="Service Advisor"||t.isManager)));return{status:r,all:n,partsStaff:c,serviceStaff:a,GET_ALL:async()=>{try{r.value="loading",n.value=await m("/dealers/{arkona}/staff",{path:{arkona:e.arkonas.site}}),r.value="loaded"}catch(t){console.error(t),r.value="error"}}}}),nt={class:"department-staff"},rt=C({__name:"StaffList",setup(m){const e=A(),r=L(),n=[...e.staffOptions.specialDepartments].sort((a,s)=>a.orderNumber<s.orderNumber?-1:a.orderNumber>s.orderNumber?1:0),c=(()=>{const a={};return r.all.forEach(s=>{let t=!1;n.forEach(o=>{a[o.label]=a[o.label]||[],(o.objectKeyFilter&&s[o.objectKeyFilter]||s.position.includes(o.positionFilter))&&(a[o.label]?.push(s),t=!0)}),!t&&(a[s.department]=a[s.department]||[],a[s.department]?.push(s))}),a})();return(a,s)=>{const t=ot;return i(!0),u(T,null,D(p(c),(o,g,S)=>(i(),u("section",{key:S,class:"department"},[f("h2",{class:Q({"theme--vw":p(e).theme==="vw"})},l(g),3),f("div",nt,[(i(!0),u(T,null,D(o,(_,b)=>(i(),N(t,{key:b,person:_},null,8,["person"]))),128))])]))),128)}}}),ct=Object.assign($(rt,[["__scopeId","data-v-87be17d1"]]),{__name:"StaffList"}),it=C({__name:"staff-directory",async setup(m){let e,r;const n=L(),c=U();n.all.length||([e,r]=W(()=>n.GET_ALL()),await e,r());let a="Staff Directory";n.all.length||(a="Staff Directory coming soon");const s={pageId:34,dealer:c.siteName},t=y(`Staff Directory | ${c.siteName}`,"title",s),o=y("","description",s),g=y(a,"h1",s),S=v(()=>{let _={title:t,ogTitle:t,twitterTitle:t};return o&&(_={..._,...{description:o,ogDescription:o,twitterDescription:o}}),_});return X(S.value),(_,b)=>{const P=B,w=I,E=ct,M=Y;return i(),u("div",null,[d(P,{current:p(g)},null,8,["current"]),d(M,{class:"center-content"},{default:h(()=>[d(w,null,{default:h(()=>[x(l(p(a)),1)]),_:1}),d(E)]),_:1})])}}}),ut=$(it,[["__scopeId","data-v-bb9bba8c"]]);export{ut 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.