1import {R as Rn,r as rt,N as Nn,C as Co,j as js,G as Go,q as qo,e as et,t as tr,Z as Zc}from'./chunk-CEZ4xDtL.js';import'./chunk-DK-oOlIv.js';import {m as me}from'./chunk-fbI2HYUG.js';import {N as Nt}from'./chunk-D9WN48a9.js';import {$ as $$1}from'./chunk-BTR2lcC4.js';import {Y as Ye$1,Z as Ze$1,I as Ir,h as hr,f as fe,l as le,F as Fr,n as ne}from'./chunk-DK1THeCa.js';import'./chunk-DNP4S0Rs.js';import'./chunk-3AZNG7mp.js';import'./chunk-DMNCydWB.js';import'./chunk-DA6JSIxF.js';import {a,o}from'./chunk-rrC3A0C3.js';import'./chunk-CSK4BC_A.js';import'./chunk-B9YRAtPo.js';import'./chunk-EvgPX2Xl.js';import'./chunk-Dpgf0MAI.js';import'./chunk-Ca39YmFk.js';import'./chunk-CTUUQml-.js';import'./chunk-CiLKG3_7.js';import {p as pt}from'./chunk-BUUgm22I.js';import'./chunk-CeAfzWMi.js';import'./chunk-CFhfWJYO.js';import'./chunk-Ckvv2MGj.js';import'./chunk-Y5YXS9a9.js';import'./chunk-Bn0zx-Gv.js';import {$}from'./chunk-B02AT_YD.js';import {b7 as i$1,bP as c,v as v$1,de as R,cf as w,K as Se$1,ag as kE,M as wE,m as mb,F as Fn,cn as si,ch as S,aD as ci,aU as w$1,S as S_,aE as YM,u as N_,aF as JM,j as jM,D as Dt,a9 as H,a6 as Ea,am as it,g as Ts,x as xy,i as Vu,d as dy,co as nS,bT as rM,Z as Z_,A as Aw,be as hM,c as Ny,bU as BM,e as H_,k as jy,n as zf,Q as Qf,f as $u,q as qu,cP as fy,dn as v_,dp as D_,_ as Qy,cy as Oy,P as Pg}from'./main-FGWGGG6G.js';import'./chunk-C4pBoU0p.js';import'./chunk-BrLeaQ4v.js';import'./chunk-DrnFuQel.js';import'./chunk-Dh5r_Bg_.js';import'./chunk-C51rzMQT.js';import'./chunk-CfdfpFVA.js';import'./chunk-D80ihd6V.js';import'./chunk-_ClpSFtB.js';import'./chunk-DycPmSEn.js';import'./chunk-Bta6x7F3.js';import'./chunk-DNPD0STm.js';import'./chunk-C0uKM84q.js';import'./chunk-CulDww35.js';import'./chunk-CbqulXGf.js';import {B}from'./chunk-Dp1kZFqk.js';import'./chunk-eYB9_WZk.js';import'./chunk-ChBhY3_o.js';import'./chunk-ChOlAO5K.js';import'./chunk-vlH_k_m0.js';import {r as rt$1}from'./chunk-CQH1DeBi.js';import'./chunk-DSD_OVQ1.js';import'./chunk-BMkUcfyT.js';import'./chunk-Cnbwco__.js';import'./chunk-CgqMv0gi.js';import'./chunk-DqtWNb2V.js';var Se=(e,o)=>{let i=v$1(H),t=v$1(rt$1),u=v$1(ne),c$1="profile-name";if(e.paramMap.has(c$1)){let j=e.paramMap.get(c$1)?.split("-").pop();if(j)return u.getProfile(c,i$1,j).pipe(Ea(ke=>t.handleError(o.url,ke)))}return i.navigateByUrl("/not-found"),it};var be=()=>[import('./chunk-CzlUwGOs.js').then(e=>e.ProfileExternalReviewsComponent)],$e=()=>[import('./chunk-Bao1ttqu.js').then(e=>e.ProfileMapInlineComponent),ci],Ae=()=>[],De=()=>({$implicit:true});function Ie(e,o){if(e&1&&xy(0,"rma-trixel",2),e&2){let i=Z_(),t=Z_();Ny("trixelImgUrl",i.trixels.profile)("trixelSourceCategory",t.profileSourceCategory);}}function Ee(e,o){if(e&1){let i=H_();Ts(0,"rma-profile-premium-toggle",24),YM(1,"async"),YM(2,"async"),jy("switch",function(u){zf(i);let c=Z_(2);return Qf(c.onPremiumToggle(u))}),Vu();}if(e&2){let i=Z_(2);Ny("checked",JM(1,2,i.premiumOverride$))("hasTrial",JM(2,4,i.hasTrial$));}}function Ue(e,o){e&1&&Oy(0);}function Ne(e,o){if(e&1&&(Ts(0,"div",25),dy(1,Ue,1,0,"ng-container",26),Vu()),e&2){Z_();let i=rM(34);Aw(),Ny("ngTemplateOutlet",i)("ngTemplateOutletContext",BM(2,De));}}function Oe(e,o){if(e&1&&xy(0,"rma-profile-awards",27),e&2){let i=Z_(),t=Z_(2);Ny("awards",i)("name",t.shortName??t.fullName);}}function Re(e,o){e&1&&S_(0,Oe,1,2,"rma-profile-awards",27),e&2&&N_(o.length?0:-1);}function Fe(e,o){if(e&1&&($u(0),S_(1,Re,1,1),YM(2,"async"),qu()),e&2){let i,t=Z_(2);Aw(),N_((i=JM(2,1,t.awards$))?1:-1,i);}}function Le(e,o){if(e&1&&xy(0,"rma-claim-profile-banner",14),e&2){let i=Z_();Ny("profile",i);}}function Ve(e,o){if(e&1&&xy(0,"rma-profile-reviews-overview",28),e&2){let i=Z_(),t=Z_();Ny("profile",t)("reviews",i)("reviewAttributes",o);}}function je(e,o){if(e&1&&(S_(0,Ve,1,3,"rma-profile-reviews-overview",28),YM(1,"async")),e&2){let i,t=Z_(2);N_((i=JM(1,1,t.reviewAttributes$))?0:-1,i);}}function qe(e,o){if(e&1&&xy(0,"rma-profile-external-reviews",29),e&2){let i=Z_(2);Ny("profileType",i.profileType)("profileCode",i.profileCode)("name",i.shortName||i.fullName);}}function He(e,o){e&1&&xy(0,"rma-skeleton-grid",30);}function ze(e,o){}function Ge(e,o){e&1&&($u(0),fy(1,qe,1,3)(2,He,1,0)(3,ze,0,0),v_(4,1,be,null,2,3),D_(0,-1),qu());}function We(e,o){if(e&1&&xy(0,"rma-profile-map-inline",31),e&2){let i=Z_(3);Ny("verticalType",i.profileVertical)("profileType",i.profileType)("profileCode",i.profileCode)("name",i.shortName??i.fullName)("canHaveProperties",false);}}function Ye(e,o){if(e&1&&(S_(0,We,1,5,"rma-profile-map-inline",31),YM(1,"async")),e&2){let i=Z_(3);N_(JM(1,1,i.showMapCta$)?0:-1);}}function Je(e,o){e&1&&(xy(0,"img",32),YM(1,"staticImageUrl")),e&2&&Ny("src",JM(1,1,"maps/map-placeholder.svg"),Pg);}function Ke(e,o){}function Qe(e,o){if(e&1&&(Ts(0,"div"),YM(1,"async"),fy(2,Ye,2,3)(3,Je,2,3)(4,Ke,0,0),v_(5,2,$e,null,3,4),D_(0,-1),Vu()),e&2){let i=Z_(2);Qy("hidden",JM(1,2,i.downgrade$));}}function Xe(e,o){if(e&1&&(xy(0,"rma-contact-form-cta",18),YM(1,"async")),e&2){let i=Z_(),t=Z_();Ny("verticalType",i.profileVertical)("profileCode",i.profileCode)("profileType",i.profileType)("branding",i.featureLevel!=="Default"?i.branding:void 0)("name",i.fullName)("avatar",i.avatarUrl)("shortName",i.shortName)("contactUrl",JM(1,12,t.contactUrl$))("enquiryTypes",t.enquiryTypes)("trixelUrl",i.trixels.contact)("trixelSourceCategory",t.contactTrixelSourceCategory)("isPaidProfile",i.featureLevel!=="Default");}}function Ze(e,o){e&1&&Oy(0);}function ei(e,o){e&1&&Oy(0);}function ii(e,o){if(e&1&&($u(0),dy(1,Ze,1,0,"ng-container",22)(2,ei,1,0,"ng-container",22),qu()),e&2){Z_();let i=rM(31),t=rM(34);Aw(),Ny("ngTemplateOutlet",i),Aw(),Ny("ngTemplateOutlet",t);}}function ti(e,o){if(e&1&&xy(0,"rma-claim-profile-banner",20),e&2){let i=Z_();
1Ny("profile",i);}}function oi(e,o){e&1&&Oy(0);}function ri(e,o){if(e&1&&(xy(0,"rma-profile-contact",33),YM(1,"async"),YM(2,"async")),e&2){let i=Z_(),t=Z_();Ny("profileCode",i.profileCode)("profileType",i.profileType)("branding",i.featureLevel!=="Default"?i.branding:void 0)("name",i.fullName)("avatar",i.avatarUrl)("ratingValue",i.ratingValue)("reviewCount",i.reviewCount)("contact",i.contact)("contactUrl",JM(1,13,t.contactUrl$))("contactAnalytics",JM(2,15,t.contactAnalytics$))("showMarketReport",i.hasMarketReports)("trixelUrl",i.trixels.contact)("trixelSourceCategory",t.contactTrixelSourceCategory);}}function ni(e,o){e&1&&xy(0,"rma-unclaimed-profile-disclaimer");}function ai(e,o){if(e&1&&xy(0,"rma-profile-recognition",35),e&2){let i=Z_().$implicit,t=Z_();Qy("divider-b",i),Ny("showAwards",t.featureLevel==="Premium")("badges",o)("name",t.shortName??t.fullName);}}function li(e,o){if(e&1&&(S_(0,ai,1,5,"rma-profile-recognition",34),YM(1,"async")),e&2){let i,t=Z_(2);N_((i=JM(1,1,t.badges$))?0:-1,i);}}function pi(e,o){if(e&1&&(S_(0,Ie,1,2,"rma-trixel",2),S_(1,Ee,3,6,"rma-profile-premium-toggle",3),YM(2,"async"),Ts(3,"div",4)(4,"header",5)(5,"div",6)(6,"div",7),xy(7,"rma-share-button",8),YM(8,"async"),Vu()(),xy(9,"rma-profile-header",9),YM(10,"async"),Vu(),Ts(11,"div",10)(12,"div",11),dy(13,Ne,2,3,"div",12)(14,Fe,3,3,"ng-container",13),S_(15,Le,1,1,"rma-claim-profile-banner",14),YM(16,"async"),xy(17,"rma-profile-about",15),YM(18,"async"),S_(19,je,2,3),YM(20,"async"),dy(21,Ge,6,0,"ng-container",16)(22,Qe,7,4,"div",17),S_(23,Xe,2,14,"rma-contact-form-cta",18),Vu(),Ts(24,"div",19),dy(25,ii,3,2,"ng-container",16),S_(26,ti,1,1,"rma-claim-profile-banner",20),YM(27,"async"),Vu()(),Ts(28,"div",21),dy(29,oi,1,0,"ng-container",22),Vu(),dy(30,ri,3,17,"ng-template",null,0,nS),S_(32,ni,1,0,"rma-unclaimed-profile-disclaimer"),dy(33,li,2,3,"ng-template",null,1,nS),xy(35,"span",23),Vu()),e&2){let i,t=o,u=rM(31),c=Z_();N_(t.trixels.profile?0:-1),Aw(),N_(JM(2,21,c.showPremiumToggle$)?1:-1),Aw(2),hM("profile-"+t.featureLevel),Aw(4),Ny("data",JM(8,23,c.share$)),Aw(2),Ny("profile",t)("badges",JM(10,25,c.badges$)),Aw(4),Ny("rmaIsBasicProfile",t.featureLevel),Aw(),Ny("rmaIsPremiumProfile",t.featureLevel),Aw(),N_(JM(16,27,c.showClaim$)?15:-1),Aw(2),Ny("stats",BM(35,Ae))("profile",t)("galleryAssets",JM(18,29,c.galleryAssets$)),Aw(2),N_((i=JM(20,31,c.reviews$))?19:-1,i),Aw(2),Ny("rmaIsBasicProfile",t.featureLevel),Aw(),Ny("rmaIsPremiumProfile",t.featureLevel),Aw(),N_(t.contact.enableContactForm?23:-1),Aw(2),Ny("rmaIsBasicProfile",t.featureLevel),Aw(),N_(JM(27,33,c.showClaim$)?26:-1),Aw(3),Ny("ngTemplateOutlet",u),Aw(3),N_(t.isClaimed?-1:32);}}var Me=(()=>{class e{constructor(){this.profileMetaService=v$1(rt),this.awardsStore=v$1(Ye$1),this.badgesStore=v$1(Ze$1),this.profileStore=v$1(Ir),this.premiumToggleStore=v$1(hr),this.reviewsStore=v$1(fe),this.galleryStore=v$1(le),this.profileAttributeStore=v$1(Fr),this.reviewAttributes$=new R,this.profileSourceCategory=w.AgentProfilePage,this.enquiryTypes=$,this.contactTrixelSourceCategory=w.AgentProfileContactForm,this.awards$=this.awardsStore.awards$,this.badges$=this.badgesStore.badges$,this.contactUrl$=this.profileStore.contactUrl$,this.contactAnalytics$=this.profileStore.contactAnalytics$,this.galleryAssets$=this.galleryStore.galleryAssets$,this.hasTrial$=this.premiumToggleStore.hasTrial$,this.premiumOverride$=this.premiumToggleStore.premiumOverride$,this.profile$=this.premiumToggleStore.profile$,this.downgrade$=this.premiumToggleStore.downgrade$,this.reviews$=this.reviewsStore.reviews$,this.share$=this.profileStore.share$,this.showClaim$=this.profileStore.showClaim$,this.showMapCta$=this.reviews$.pipe(Se$1(i=>i.total>0)),this.showPremiumToggle$=this.premiumToggleStore.showPremiumToggle$,this.reviewAttributes$=this.profileAttributeStore.reviewAttributes$;}ngOnInit(){let i=kE({profile:this.profile$,reviews:this.reviews$.pipe(Se$1(({results:t})=>t)),auctions:wE([]),links:wE([]),awards:this.awards$});this.profileMetaService.setMetaData(i);}onPremiumToggle(i){this.premiumToggleStore.setToggleState(i);}static{this.\u0275fac=function(t){return new(t||e)};}static{this.\u0275cmp=mb({type:e,selectors:[["rma-mortgage-broker-profile"]],hostAttrs:[1,"w-full","py-6"],features:[jM([Dt("profileScope"),Ye$1,Ze$1,le,hr,Ir,Fr,fe])],decls:2,vars:3,consts:[["contactTemplate",""],["recognition",""],[3,"trixelImgUrl","trixelSourceCategory"],[3,"checked","hasTrial"],[1,"mx-auto","block","max-w-[70rem]","py-6","pb-36"],[1,"mx-6","xl:mx-0"],[1,"mb-1","flex","flex-row","items-center","justify-end"],[1,"flex","flex-row","items-center","justify-between"],["buttonType","responsive",3,"data"],[3,"profile","badges"],[1,"flex","space-x-12"],[1,"flex","w-full","flex-col","space-y-6","lg:w-2/3"],["class","mx-6 block lg:hidden xl:mx-0",4,"rmaIsBasicProfile"],[4,"rmaIsPremiumProfile"],[1,"mx-6","lg:hidden",3,"profile"],[1,"divi
1der-b","mx-6","md:mr-3","xl:mx-0",3,"stats","profile","galleryAssets"],[4,"rmaIsBasicProfile"],[3,"hidden",4,"rmaIsPremiumProfile"],["id","contactForm",1,"mx-6","xl:mx-0",3,"verticalType","profileCode","profileType","branding","name","avatar","shortName","contactUrl","enquiryTypes","trixelUrl","trixelSourceCategory","isPaidProfile"],[1,"sticky","top-20","hidden","w-1/3","grow-0","space-y-6","self-start","pr-6","lg:flex","lg:flex-col","xl:pr-0"],[3,"profile"],[1,"fixed","bottom-0","z-50","w-full","bg-white","shadow-inner","lg:hidden"],[4,"ngTemplateOutlet"],[1,""],[3,"switch","checked","hasTrial"],[1,"mx-6","block","lg:hidden","xl:mx-0"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"divider-b","mx-6","xl:mx-0",3,"awards","name"],[1,"divider-b","mx-6","md:mr-3","xl:mx-0",3,"profile","reviews","reviewAttributes"],[3,"profileType","profileCode","name"],["heightClass","h-60","gapClass","gap-3.5"],["mapType","Review",1,"divider-b","block","w-full","px-6","xl:px-0",3,"verticalType","profileType","profileCode","name","canHaveProperties"],["alt","map",1,"h-96","w-full","object-cover",3,"src"],[3,"profileCode","profileType","branding","name","avatar","ratingValue","reviewCount","contact","contactUrl","contactAnalytics","showMarketReport","trixelUrl","trixelSourceCategory"],[3,"divider-b","showAwards","badges","name"],[3,"showAwards","badges","name"]],template:function(t,u){if(t&1&&(S_(0,pi,36,36),YM(1,"async")),t&2){let c;N_((c=JM(1,1,u.profile$))?0:-1,c);}},dependencies:[Nn,me,a,o,Fn,si,Co,js,Nt,Go,qo,et,tr,Zc,$$1,B,S,ci,w$1],encapsulation:2});}}return e})();var mi=[{path:"",pathMatch:"full",redirectTo:"overview"},{path:"",resolve:{profile:Se},children:[{path:"overview",component:Me},{matcher:pt("reviews"),component:Rn,data:{verticalType:c,profileType:i$1}},{matcher:pt("contact"),loadComponent:()=>import('./chunk-B44-NQO1.js')},{path:"map",loadComponent:()=>import('./chunk-CkkGynUJ.js'),data:{hideFooter:true,fullWidthHeader:true}}]}];export{mi as mortgageBrokerProfileRoutes};//# sourceMappingURL=chunk-Luq-pfUO.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.