1import{a as U}from"./chunk-7Q4AZIU5.js";import{a as j}from"./chunk-FPW5GILY.js";import{a as B}from"./chunk-OPJ7AMFY.js";import"./chunk-OB6SBMPF.js";import"./chunk-WZGCHPLO.js";import{a as R}from"./chunk-MHAWMB6U.js";import"./chunk-HW6JDVEM.js";import"./chunk-QHCPTZPU.js";import"./chunk-HB5YI4QL.js";import"./chunk-4G7TLVZ5.js";import"./chunk-CVSOAM5D.js";import"./chunk-AMB5OETS.js";import{a as F}from"./chunk-OZWVNXQR.js";import"./chunk-TUMZ3SKI.js";import{a as I}from"./chunk-LYLFRCIE.js";import{a as L,b as k}from"./chunk-QPSWTSIM.js";import{b as h,d as P}from"./chunk-JT6ASDIM.js";import{l as M,o as T,p as D,w as A}from"./chunk-LJVWLVVB.js";import"./chunk-DP76YC53.js";import{A as O,B as E}from"./chunk-SW2PCWOQ.js";import{Cc as w,Db as p,Dc as y,Jb as m,Qb as c,Vb as i,Wb as o,Xa as C,Xb as g,gc as u,ib as S,jb as v,ob as n,qc as r,rc as f,ta as l,xa as b}from"./chunk-FFQH2GOQ.js";var H=()=>["/agents"];function z(e,a){e&1&&(i(0,"div",0)(1,"div",1)(2,"span",2),r(3,"Loading..."),o()()())}function N(e,a){e&1&&g(0,"app-not-found")}function q(e,a){if(e&1&&(i(0,"div",8),r(1),o()),e&2){let t=u(4);n(),f(t.agent.professional_title)}}function $(e,a){if(e&1&&(i(0,"div",18)(1,"div",19),r(2,"Phone#"),o(),i(3,"div"),r(4),o()()),e&2){let t=u(4);n(4),f(t.agent.phone)}}function G(e,a){if(e&1&&(i(0,"div",3)(1,"div",4),g(2,"app-breadcrumb",5),o(),i(3,"div",6)(4,"h3",7),r(5),o(),p(6,q,2,1,"div",8),o(),i(7,"div",9)(8,"div",10)(9,"div",11),g(10,"img",12),i(11,"a",13),r(12," Back to Agents List "),o()(),i(13,"div",14),g(14,"div",15),i(15,"div",16)(16,"h5",17),r(17,"Contact Information"),o(),p(18,$,5,1,"div",18),i(19,"div",18)(20,"div",19),r(21,"Email"),o(),i(22,"a",20),r(23),o()(),i(24,"div",21)(25,"div",19),r(26,"Website"),o(),i(27,"a",22),r(28),o()()()()()(),i(29,"div",23),g(30,"app-popular-cities",24),o()()),e&2){let t=u(3);n(2),m("breadcrumbs",t.breadCrumbs),n(3),f(t.agent.full_name),n(),c(t.agent.professional_title?6:-1),n(4),m("src",t.agent.fub_picture,v)("alt",t.agent.full_name),n(),m("routerLink",y(14,H)),n(3),m("innerHTML",t.agent.bio,S),n(4),c(t.agent.phone?18:-1),n(4),m("href","mailto:"+t.agent.email,v),n(),f(t.agent.email),n(4),m("href",t.agent.website?t.agent.website:t.websiteOrigin,v),n(),f(t.agent.website||t.websiteOriginDisplay),n(2),m("options",t.popularCitiesOptions)("longText",!0)}}function Q(e,a){if(e&1&&p(0,G,31,15,"div",3),e&2){let t=u(2);c(t.agent?0:-1)}}function V(e,a){if(e&1&&p(0,N,1,0,"app-not-found")(1,Q,1,1),e&2){let t=u();c(t.notFound?0:1)}}var mt=(()=>{let a=class a{constructor(){this.loaders={fetching:!1},this.notFound=!1,this.breadCrumbs=[],this.subscriptions={url:null,companyDetails:null},this.websiteOrigin=h.client_domain,this.websiteOriginDisplay="",this.activatedRoute=l(M),this.agentService=l(F),this.pageBuilderService=l(I),this.res=l(k,{optional:!0}),this.req=l(L,{optional:!0}),this.platformId=l(C),this.metaService=l(R),this.globalService=l(P)}ngOnInit(){var d,s;E(this.platformId)&&h.production?this.websiteOrigin="https://".concat((s=(d=this.req)==null?void 0:d.headers)==null?void 0:s.host):O(this.platformId)&&h.production&&(this.websiteOrigin=window.location.origin),this.websiteOriginDisplay=new URL(this.websiteOrigin).hostname,this.activatedRoute.data.subscribe(x=>{this.notFound=!1;let _=x.data;if(!_){this.notFound=!0,this.metaService.setMetaTagsFor404();return}this.agent=_}),this.breadCrumbs=[{label:"Home",link:"/"},{label:"Agents",link:"/agents"},{label:this.agent.full_name,link:"/agents/".concat(this.agent.url_slug)}],this.popularCitiesOptions={title:"Homes for Sale by City",state_code:this.globalService.defaultState.value,limit:20,view_type:"list",exclude_cities:[]},this.pageBuilderService.settings={pageLayoutType:"custom-page"}}ngOnDestroy(){Object.values(this.subscriptions).forEach(d=>d==null?void 0:d.unsubscribe())}};a.\u0275fac=function(s){return new(s||a)},a.\u0275cmp=b({type:a,selectors:[["app-agent-detail"]],standalone:!0,features:[w],decls:2,vars:1,consts:[[1,"loader-container"],["role","status",1,"spinner-border","text-primary","loader-small"],[1,"visually-hidden"],[1,"row","my-6","pt-4","pt-md-5"],[1,"col-10","mx-auto","mb-3"],[3,"breadcrumbs"],[1,"col-10","mx-auto","mb-3","d-flex","align-items-center","gap-3"],[1,"m-0","p-0","fw-semibold"],[1,"fs-14"],[1,"col-10","mx-auto","mb-6"],[1,"row"],[1,"col-12","col-lg-3","d-flex","flex-column","gap-3","mb-4","mb-lg-0"],[1,"w-100","rounded","agent-avatar",3,"src","alt"],["routerLinkActive","router-link-active",1,"btn","btn-primary",3,"routerLink"],[1,"col-12","col-lg-9"],[3,"innerHTML"],[1,"border","rounded"],[1,"p-3","border-bottom","mb-0"],[1,"p-3","d-flex","border-bottom","justify-content-between"],[1,"label"],[1,"text-wrap","text-break",3,"href"],[1,"p-3","d-flex","justify-content-between"],["target","_blank",3,"href"],[1,"col-10","mx-auto","border-top","pt-4"],[3,"options","longText"]],template:function(s,x){s&1&&p(0,z,4,0,"div",0)(1,V,2,1),s&2&&c(x.loaders.fetching?0:1)},dependencies:[A,T,D,U,j,B],styles:[".label[_ngcontent-%COMP%]{width:100px}.loader-container[_ngcontent-%COMP%]{width:100%;min-height:400px;display:flex;justify-content:center;align-items:center}
1.agent-avatar[_ngcontent-%COMP%]{height:300px;object-fit:cover;object-position:top}@media (min-width: 576px){.agent-avatar[_ngcontent-%COMP%]{height:500px}}@media (min-width: 768px){.agent-avatar[_ngcontent-%COMP%]{height:650px}}@media (min-width: 992px){.agent-avatar[_ngcontent-%COMP%]{height:300px}}@media (min-width: 1400px){.agent-avatar[_ngcontent-%COMP%]{height:400px}}\n/*# sourceMappingURL=agent-detail.component-IMVCTN5B.css.map */"]});let e=a;return e})();export{mt as AgentDetailComponent}; 2//# sourceMappingURL=chunk-LIETW5RT.js.map
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.