1"use strict";(self.webpackChunkpc=self.webpackChunkpc||[]).push([[6406],{76406:(ho,q,p)=>{p.r(q),p.d(q,{MaProprieteModule:()=>Ro,routes:()=>ne});var P=p(49823),h=p(37084),T=p(2049),j=p(5894),Q=p(88699),M=p(18359),x=p(25558),e=p(54438),f=p(9310),c=p(26450),N=p(88834),C=p(60177),I=p(75824);function oe(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",2),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}function ie(t,a){1&t&&(e.j41(0,"th",15),e.EFF(1,"Exercices financiers"),e.k0s())}function ae(t,a){if(1&t&&(e.j41(0,"td",16),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.exerciceFinancier,"")}}function re(t,a){1&t&&(e.j41(0,"th",15),e.EFF(1,"Date de l'avis"),e.k0s())}function se(t,a){if(1&t&&(e.j41(0,"td",16),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.dateAvis,"")}}function _e(t,a){1&t&&(e.j41(0,"th",15),e.EFF(1,"Date limite"),e.k0s())}function le(t,a){if(1&t&&(e.j41(0,"td",16),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.dateLimite,"")}}function ce(t,a){1&t&&e.nrm(0,"th",15)}function pe(t,a){if(1&t){const n=e.RV6();e.j41(0,"td",16)(1,"button",17),e.bIt("click",function(){const i=e.eBV(n).$implicit,r=e.XpG(2);return e.Njj(r.download(i))}),e.nrm(2,"i",18),e.k0s()()}}function de(t,a){1&t&&e.nrm(0,"tr",19)}function ue(t,a){1&t&&e.nrm(0,"tr",20)}function Ee(t,a){1&t&&(e.j41(0,"div",21),e.nrm(1,"i",22),e.j41(2,"span"),e.EFF(3,"Vous n'avez aucun avis d'\xe9valuation pour le moment"),e.k0s()())}function me(t,a){if(1&t&&(e.j41(0,"div")(1,"h1",3),e.EFF(2,"Avis d'\xe9valuation"),e.k0s(),e.j41(3,"div",4)(4,"table",5),e.qex(5,6),e.DNE(6,ie,2,0,"th",7)(7,ae,2,1,"td",8),e.bVm(),e.qex(8,9),e.DNE(9,re,2,0,"th",7)(10,se,2,1,"td",8),e.bVm(),e.qex(11,10),e.DNE(12,_e,2,0,"th",7)(13,le,2,1,"td",8),e.bVm(),e.qex(14,11),e.DNE(15,ce,1,0,"th",7)(16,pe,3,0,"td",8),e.bVm(),e.DNE(17,de,1,0,"tr",12)(18,ue,1,0,"tr",13),e.k0s(),e.DNE(19,Ee,4,0,"div",14),e.k0s()()),2&t){const n=e.XpG();e.R7$(4),e.Y8G("dataSource",n.dataSource),e.R7$(13),e.Y8G("matHeaderRowDef",n.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",n.displayedColumns),e.R7$(),e.Y8G("ngIf",0==n.dataSource.length)}}let Pe=(()=>{var t;class a{constructor(o,i,r,s){this.appMetaTags=o,this.evaluationService=i,this.store=r,this.reportManagerService=s,this.subs=new M.yU,this.displayedColumns=["exerciceFinancier","dateAvis","dateLimite","pdf"],this.dataSource=[],this.dataLoaded=!1,this.dataLoadingFailed=!1}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(r=>"propriete"===r);this.proprieteId=o[i+1],this.subs.add(this.evaluationService.getAvisEvaluationPropriete(this.proprieteId).subscribe(r=>{this.dataSource=r,this.dataLoaded=!0},()=>{this.dataLoadingFailed=!0}))}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Avis d'\xE9valuation")}download(o){const i=o.appId,r="avisevaluationtriennalrpt",s="AvisEvaluation_"+o.anneeDebut;this.subs.add(this.evaluationService.getTokenReportManager(r).pipe((0,x.n)(l=>this.reportManagerService.downloadReport(`${T.c.reportManagerUrl}/report-pdf-stream/${r}/?appId=${i}&lotAvisEvaId=${o.lotAvisEvaId}&ueId=${o.ueId}&filename=${s}&dateAvis=${o.dateAvis}&dateLimite=${o.dateLimite}&env=${T.c.envKey}&token=${l.token}`,s))).subscribe(l=>{this.store.dispatch(l?new P.Actions.ShowSnackBar("rapport g\xE9n\xE9r\xE9 avec succ\xE8s."):new P.Actions.ShowSnackBar("\xC9chec lors de la g\xE9n\xE9ration du rapport, veuillez r\xE9essayer.",P.EnumSnackBarType.Echec))},()=>{this.store.dispatch(new P.Actions.ShowSnackBar("Erreur lors de la g\xE9n\xE9ration du rapport.",P.EnumSnackBarType.Echec))}))}ngOnDestroy(){this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W),e.rXU(j.W),e.rXU(f.il),e.rXU(Q.x))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-app-avis-evaluation-content"]],decls:2,vars:2,consts:[[3,"loadingFailed",4,"ngIf"],[4,"ngIf"],[3,"loadingFailed"],[1,"margin-bottom-2"],[1,"responsive-table-stroked"],["mat-table","",1,"historique-table",3,"dataSource"],["matColumnDef","exerciceFinancier"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","dateAvis"],["matColumnDef","dateLimite"],["matColumnDef","pdf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","no-content-placeholder margin-top-2",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click"],[1,"icon-pdf"],["mat-header-row",""],["mat-row",""],[1,"no-content-placeholder","margin-top-2"],[1,"icon-bar-chart-2"]],template:function(o,i){1&o&&e.DNE(0,oe,1,1,"vplus-loading-spinner",0)(1,me,20,4,"div",1),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded))},dependencies:[c.Zl,c.tL,c.ji,c.cC,c.YV,c.iL,c.KS,c.$R,c.YZ,c.NB,N.iY,C.bT,I.N],styles:[".description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:not(:first-child){font-size:13px}th.mat-header-cell.cdk-header-cell.cdk-column-dateEmission.mat-column-dateEmission[_ngcontent-%COMP%]{text-align:center;padding-right:24px}td.mat-cell.cdk-cell.cdk-column-dateEmission.mat-column-dateEmission[_ngcontent-%COMP%]{text-align:center}th.mat-header-cell.cdk-header-cell.cdk-column-dateVigueur.mat-column-dateVigueur[_ngcontent-%COMP%]{text-align:center;padding-right:24px}td.mat-cell.cdk-cell.cdk-column-dateVigueur.mat-column-dateVigueur[_ngcontent-%COMP%]{text-align:center}th.mat-header-cell.cdk-header-cell.cdk-column-noCertificat.mat-column-noCertificat[_ngcontent-%COMP%], td.mat-cell.cdk-cell.cdk-column-noCertificat.mat-column-noCertificat[_ngcontent-%COMP%]{width:130px}.payer-div[_ngcontent-%COMP%]{flex:26%;text-align:end;margin-right:10px}.information-div[_ngcontent-%COMP%]{flex:auto;text-align:start}"]}),a})();
1var Ce=p(97586),W=p.n(Ce);function Te(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",8),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}function fe(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,1),e.k0s())}function Oe(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.noCertificat,"")}}function ge(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,2),e.k0s())}function Re(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.objet,"")}}function he(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,3),e.k0s())}function Me(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.dateEmission,"")}}function Ne(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,4),e.k0s())}function Ie(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.dateVigueur,"")}}function Se(t,a){1&t&&e.nrm(0,"th",22)}function ve(t,a){if(1&t){const n=e.RV6();e.j41(0,"td",23)(1,"button",24),e.bIt("click",function(){const i=e.eBV(n).$implicit,r=e.XpG(2);return e.Njj(r.download(i.avisEvaId,i.appId,i.matricule))}),e.nrm(2,"i",25),e.k0s()()}}function Ae(t,a){1&t&&e.nrm(0,"tr",26)}function be(t,a){1&t&&e.nrm(0,"tr",27)}function Le(t,a){1&t&&(e.j41(0,"div",28),e.nrm(1,"i",29),e.j41(2,"span"),e.pXf(3,5),e.k0s()())}function De(t,a){if(1&t&&(e.j41(0,"div")(1,"h1",9),e.pXf(2,0),e.k0s(),e.j41(3,"div",10)(4,"table",11),e.qex(5,12),e.DNE(6,fe,2,0,"th",13)(7,Oe,2,1,"td",14),e.bVm(),e.qex(8,15),e.DNE(9,ge,2,0,"th",13)(10,Re,2,1,"td",14),e.bVm(),e.qex(11,16),e.DNE(12,he,2,0,"th",13)(13,Me,2,1,"td",14),e.bVm(),e.qex(14,17),e.DNE(15,Ne,2,0,"th",13)(16,Ie,2,1,"td",14),e.bVm(),e.qex(17,18),e.DNE(18,Se,1,0,"th",13)(19,ve,3,0,"td",14),e.bVm(),e.DNE(20,Ae,1,0,"tr",19)(21,be,1,0,"tr",20),e.k0s(),e.DNE(22,Le,4,0,"div",21),e.k0s()()),2&t){const n=e.XpG();e.R7$(4),e.Y8G("dataSource",n.dataSource),e.R7$(16),e.Y8G("matHeaderRowDef",n.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",n.displayedColumns),e.R7$(),e.Y8G("ngIf",0==n.dataSource.length)}}let $e=(()=>{var t;class a{constructor(o,i,r,s){this.appMetaTags=o,this.evaluationService=i,this.store=r,this.reportManagerService=s,this.subs=new M.yU,this.displayedColumns=["noCertificat","objet","dateEmission","dateVigueur","pdf"],this.dataSource=[],this.dataLoaded=!1,this.dataLoadingFailed=!1}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(r=>"propriete"===r);this.proprieteId=o[i+1],this.subs.add(this.evaluationService.getCertificatEvaluation(this.proprieteId).subscribe(r=>{this.dataSource=r,this.dataLoaded=!0},()=>{this.dataLoadingFailed=!0}))}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Certificat d'\xE9valuation")}download(o,i,r){const s="avisevaluationrpt",l=r+"_Certificat d'\xe9valuation";this.subs.add(this.evaluationService.getTokenReportManager(s).pipe((0,x.n)(_=>{const B=`${T.c.reportManagerUrl}/report-pdf-stream/${s}/?appId=${i}&isTransmission=false&avisEvaIds=${o}&filename=${l}&env=${T.c.envKey}&token=${_.token}&isFromPC=true&impressionDay=${W()().format("YYYY-MM-DD")}&impressionHour=${W()().format("HH:mm:ss")}`;return this.reportManagerService.downloadReport(B,l)})).subscribe(_=>{this.store.dispatch(_?new P.Actions.ShowSnackBar("rapport g\xE9n\xE9r\xE9 avec succ\xE8s."):new P.Actions.ShowSnackBar("\xC9chec lors de la g\xE9n\xE9ration du rapport, veuillez r\xE9essayer.",P.EnumSnackBarType.Echec))},()=>{this.store.dispatch(new P.Actions.ShowSnackBar("Erreur lors de la g\xE9n\xE9ration du rapport.",P.EnumSnackBarType.Echec))}))}ngOnDestroy(){this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W),e.rXU(j.W),e.rXU(f.il),e.rXU(Q.x))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-app-avis-modification-content"]],decls:2,vars:2,consts:()=>{let n,o,i,r,s,l;return n="Certificats d'\xE9valuation",o="N\xB0 Certificat",i="Objet",r="Date d'\xE9mission",s="Date de vigueur",l="Vous n'avez aucun certificat d'\xE9valuation pour le moment",[n,o,i,r,s,l,[3,"loadingFailed",4,"ngIf"],[4,"ngIf"],[3,"loadingFailed"],[1,"margin-bottom-2"],[1,"responsive-table-stroked"],["mat-table","",1,"historique-table",3,"dataSource"],["matColumnDef","noCertificat"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","objet"],["matColumnDef","dateEmission"],["matColumnDef","dateVigueur"],["matColumnDef","pdf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","no-content-placeholder margin-top-2",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click"],[1,"icon-pdf"],["mat-header-row",""],["mat-row",""],[1,"no-content-placeholder","margin-top-2"],[1,"icon-bar-chart-2"]]},template:function(o,i){1&o&&e.DNE(0,Te,1,1,"vplus-loading-spinner",6)(1,De,23,4,"div",7),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded))},dependencies:[c.Zl,c.tL,c.ji,c.cC,c.YV,c.iL,c.KS,c.$R,c.YZ,c.NB,N.iY,C.bT,I.N],styles:[".description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:not(:first-child){font-size:13px}th.mat-mdc-header-cell.cdk-header-cell.cdk-column-dateEmission.mat-column-dateEmission[_ngcontent-%COMP%]{text-align:center;padding-right:24px}td.mat-mdc-cell.cdk-cell.cdk-column-dateEmission.mat-column-dateEmission[_ngcontent-%COMP%]{text-align:center}th.mat-mdc-header-cell.cdk-header-cell.cdk-column-dateVigueur.mat-column-dateVigueur[_ngcontent-%COMP%]{text-align:center;padding-right:24px}td.mat-mdc-cell.cdk-cell.cdk-column-dateVigueur.mat-column-dateVigueur[_ngcontent-%COMP%]{text-align:center}th.mat-mdc-header-cell.cdk-header-cell.cdk-column-noCertificat.mat-column-noCertificat[_ngcontent-%COMP%], td.mat-mdc-cell.cdk-cell.cdk-column-noCertificat.mat-column-noCertificat[_ngcontent-%COMP%]{width:130px}.payer-div[_ngcontent-%COMP%]{flex:26%;text-align:end;margin-right:10px}.information-div[_ngcontent-%COMP%]{flex:auto;text-align:start}"]}),a})();var J=p(10467),A=p(34180),Z=p(9175),F=p(35052),u=p(51564),S=p(53387),xe=p(25596),D=p(34006),Y=p(86600);function Fe(t,a){if(1&t&&(e.j41(0,"div",2)(1,"a",3),e.nrm(2,"img",4),e.k0s()()),2&t){const n=a.$implicit;e.R7$(),e.Y8G("href",n.href,e.B4B),e.R7$(),e.Y8G("src",n.imgSrc,e.B4B)("alt",n.alt)}}let K=(()=>{var t;class a{constructor(){this.paymentModeList=[{href:"https://www1.bmo.com/onlinebanking/cgi-bin/netbnx/NBmain?product=6",imgSrc:"assets/rouyn/bank-img/bank-of-montreal.png",alt:"BMO"},{href:"https://www.atbonline.com/atb/login.aspx",imgSrc:"assets/rouyn/bank-img/atb.png",alt:"ATB financial"},{href:"https://blcweb.banquelaurentienne.ca/BLCDirect/",imgSrc:"assets/rouyn/bank-img/banque_Laurentienne.png",alt:"Banque LA
1URENTIENNE"},{href:"https://www.bnc.ca/particuliers/comptes/en-ligne.html",imgSrc:"assets/rouyn/bank-img/banque-nationale-logo-vector.png",alt:"Banque Nationale"},{href:"https://www.banquemanuvie.ca/services-bancaires-aux-particuliers/ouvrir-une-session.html",imgSrc:"assets/rouyn/bank-img/bq-manuvie.png",alt:"Banque Manuvie"},{href:"https://www.scotiabank.com/ca/fr/particuliers.html",imgSrc:"assets/rouyn/bank-img/bq-scotia2.png",alt:"Banque Scotia"},{href:"https://www.cibc.com/fr/personal-banking.html",imgSrc:"assets/rouyn/bank-img/cibc.png",alt:"CIBC"},{href:"https://accweb.mouv.desjardins.com/identifiantunique/securite-garantie/authentification/auth/manuel?domaineVirtuel=desjardins&langueCible=fr&executeTime=30",imgSrc:"assets/rouyn/bank-img/desjardins.png",alt:"Desjardins"},{href:"https://www.lechoixdupresident.ca/",imgSrc:"assets/rouyn/bank-img/finance-1.png",alt:"President\u2019s choice"},{href:"https://www.hsbc.ca/fr-ca/",imgSrc:"assets/rouyn/bank-img/hsbc.png",alt:"HSBC"},{href:"https://www.peoplestrust.com/fr/",imgSrc:"assets/rouyn/bank-img/peoples-trust.png",alt:"People Trust"},{href:"https://www.rbcroyalbank.com/fr/personal.html",imgSrc:"assets/rouyn/bank-img/rbc.png",alt:"RBC"},{href:"https://online.simplii.com/ebm-resources/public/client/web/index.html#/signon",imgSrc:"assets/rouyn/bank-img/simplii-financial-vector-logo.png",alt:"Simplii financial"},{href:"https://www.tangerine.ca/app/#/login/login-id?locale=fr_CA",imgSrc:"assets/rouyn/bank-img/tangerine.png",alt:"Tangerine"},{href:"https://www.td.com/ca/fr/services-bancaires-personnels/mes-comptes/",imgSrc:"assets/rouyn/bank-img/td.png",alt:"TD"}]}}return(t=a).\u0275fac=function(o){return new(o||t)},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-paiement-en-ligne"]],decls:16,vars:1,consts:[[1,"flex-grid","four-col"],["class","flat-card medium-radius","mat-ripple","",4,"ngFor","ngForOf"],["mat-ripple","",1,"flat-card","medium-radius"],["target","_blank",3,"href"],["mat-card-image","",3,"src","alt"]],template:function(o,i){1&o&&(e.j41(0,"mat-dialog-content")(1,"p"),e.EFF(2," Plusieurs institutions financi\xe8res offrent le service de paiement par Internet. Un paiement effectu\xe9 avant 15 h sera trait\xe9 la journ\xe9e du paiement. "),e.k0s(),e.j41(3,"p")(4,"b"),e.EFF(5,"Num\xe9ro de compte ou de r\xe9f\xe9rence :"),e.k0s()(),e.j41(6,"p"),e.EFF(7," Utilisez le num\xe9ro "),e.j41(8,"b"),e.EFF(9,"SIPC 534"),e.k0s(),e.EFF(10,' qui appara\xeet sur votre facture ou dans la grille "Comptes de taxes" de votre Portail Citoyen. Inscrivez les 11 chiffres en d\xe9butant par '),e.j41(11,"b"),e.EFF(12,"000XXXXXXXX"),e.k0s(),e.EFF(13," (excluant le 534). Cliquez sur votre banque pour \xeatre redirig\xe9 : "),e.k0s(),e.j41(14,"div",0),e.DNE(15,Fe,3,3,"div",1),e.k0s()()),2&o&&(e.R7$(15),e.Y8G("ngForOf",i.paymentModeList))},dependencies:[xe.kF,D.Yi,Y.r6,C.Sq],encapsulation:2}),a})();var b=p(34648),k=p(77339),v=p(89417),U=p(88974),ke=p(59042),Ue=p(32102),Ge=p(62142);const ye=["SuccessFailSpinner"];function Xe(t,a){1&t&&(e.j41(0,"h1",13),e.pXf(1,1),e.k0s())}function Ve(t,a){1&t&&(e.j41(0,"h1",13),e.pXf(1,2),e.k0s())}function we(t,a){if(1&t&&(e.j41(0,"h1",13),e.EFF(1),e.k0s()),2&t){const n=e.XpG(2);e.R7$(),e.JRh(n.failMessage)}}function je(t,a){if(1&t&&(e.j41(0,"form",11),e.DNE(1,Xe,2,0,"h1",12)(2,Ve,2,0,"h1",12)(3,we,2,1,"h1",12),e.nrm(4,"success-fail-spinner",null,0),e.k0s()),2&t){const n=e.XpG();e.R7$(),e.Y8G("ngIf",!n.isUnlinked&&!n.isSuccess&&!n.isFailed),e.R7$(),e.Y8G("ngIf",n.isUnlinked&&n.isSuccess),e.R7$(),e.Y8G("ngIf",n.isUnlinked&&n.isFailed)}}function Ye(t,a){if(1&t){const n=e.RV6();e.j41(0,"h2",14),e.pXf(1,3),e.k0s(),e.j41(2,"p")(3,"span"),e.pXf(4,4),e.k0s(),e.EFF(5),e.nrm(6,"br"),e.j41(7,"span"),e.pXf(8,5),e.k0s(),e.EFF(9," \xa0"),e.j41(10,"strong"),e.EFF(11,"RETIRER "),e.k0s()(),e.j41(12,"mat-form-field",15),e.nrm(13,"input",16),e.k0s(),e.j41(14,"strong",17),e.nrm(15,"i",18),e.j41(16,"span"),e.pXf(17,6),e.k0s()(),e.j41(18,"div",19)(19,"ion-button",20),e.bIt("click",function(){e.eBV(n);const i=e.XpG();return e.Njj(i.onNoClick())}),e.pXf(20,7),e.k0s(),e.j41(21,"ion-button",21),e.bIt("click",function(){e.eBV(n);const i=e.XpG();return e.Njj(i.onYesClick())}),e.pXf(22,8),e.k0s()()}if(2&t){const n=e.XpG();e.R7$(5),e.SpI(" ",n.ProprieteAdr,", "),e.R7$(7),e.Y8G("floatLabel","never"),e.R7$(),e.Y8G("formControl",n.validateFormControl),e.R7$(8),e.Y8G("disabled","retirer"!==n.validateFormControl.value.toLowerCase()&&"remove"!==n.validateFormControl.value.toLowerCase())}}let ee=(()=>{var t;class a{constructor(o,i,r,s){this.dialogRef=o,this.actions$=i,this.store=r,this.data=s,this.validateFormControl=new v.hs(""),this.isUnlinking=!1,this.isUnlinked=!1,this.isSuccess=!1,this.isFailed=!1,this.ProprieteId=s.ProprieteId,this.ProprieteAdr=s.ProprieteAdr}
1ngOnInit(){this.unlinkUserDemandeSubSucces=this.actions$.pipe((0,k.gp)(b.removeUserPropertySuccess)).subscribe(()=>{this.SuccessFailSpinnerRef&&(this.SuccessFailSpinnerRef.toggleDelayedSuccess(2e3),this.SuccessFailSpinnerRef.SuccessAnimationStarted.subscribe(()=>{this.isUnlinked=!0,this.isSuccess=!0}),this.SuccessFailSpinnerRef.SuccessAnimationFinished.subscribe(()=>{this.dialogRef.close(!0)}))}),this.unlinkUserDemandeSubFailed=this.actions$.pipe((0,k.gp)(b.removeUserPropertyFailed)).subscribe(o=>{this.SuccessFailSpinnerRef&&(this.SuccessFailSpinnerRef.toggleDelayedError(2e3),this.SuccessFailSpinnerRef.ErrorAnimationStarted.subscribe(()=>{this.isUnlinked=!0,this.isFailed=!0,this.failMessage=o.message}),this.SuccessFailSpinnerRef.ErrorAnimationFinished.subscribe(()=>{this.dialogRef.close(!1)}))})}onNoClick(){this.dialogRef.close(!1)}onYesClick(){this.isUnlinking=!0,this.store.dispatch(A.En.removeUserProperty({proprieteId:this.ProprieteId}))}ngOnDestroy(){this.unlinkUserDemandeSubSucces&&this.unlinkUserDemandeSubSucces.unsubscribe(),this.unlinkUserDemandeSubFailed&&this.unlinkUserDemandeSubFailed.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(D.CP),e.rXU(k.En),e.rXU(f.il),e.rXU(D.Vh))},t.\u0275cmp=e.VBU({type:t,selectors:[["propriete-remove-dialog"]],viewQuery:function(o,i){if(1&o&&e.GBs(ye,5),2&o){let r;e.mGM(r=e.lsd())&&(i.SuccessFailSpinnerRef=r.first)}},decls:2,vars:2,consts:()=>{let n,o,i,r,s,l,_,d;return n="Retrait en cours...",o="Propri\xE9t\xE9 retir\xE9e avec succ\xE8s !",i="Confirmer le retrait de votre propri\xE9t\xE9",r="Pour confirmer le retrait de votre propri\xE9t\xE9 au",s="veuillez inscrire",l="Cette action est permanente et irr\xE9versible",_="Annuler",d="Confirmer",[["SuccessFailSpinner",""],n,o,i,r,s,l,_,d,["class","simple-pop-up",4,"ngIf"],[3,"ngIf"],[1,"simple-pop-up"],["class","margin-bottom-2",4,"ngIf"],[1,"margin-bottom-2"],[1,"form-section-title"],["appearance","outline",1,"full-width",3,"floatLabel"],["matInput","","placeholder","",3,"formControl"],[1,"warning-hint","margin-bottom-2"],[1,"icon-alert-triangle"],["mat-dialog-actions","",1,"dialog-buttons-section"],["fill","outline","tabindex","1",1,"ion-custom-button-outline","ion-cu
1stom-button-standard",3,"click"],[1,"ion-custom-button-standard","ion-custom-button-full",3,"click","disabled"]]},template:function(o,i){1&o&&e.DNE(0,je,6,3,"form",9)(1,Ye,23,4,"ng-template",10),2&o&&(e.Y8G("ngIf",i.isUnlinking),e.R7$(),e.Y8G("ngIf",!i.isUnlinking))},dependencies:[C.bT,U.Jm,ke.fg,Ue.rl,D.E7,v.qT,v.me,v.BC,v.cb,v.cV,v.l_,Ge.K],encapsulation:2}),a})();var H=p(2578),te=p(73002),O=p(51188),He=p(6053);function ze(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",10),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}function Be(t,a){1&t&&(e.j41(0,"th",32),e.pXf(1,1),e.k0s())}function qe(t,a){if(1&t&&(e.j41(0,"td",33),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.noFacture,"")}}function Qe(t,a){1&t&&(e.j41(0,"th",32),e.pXf(1,2),e.k0s())}function We(t,a){if(1&t&&(e.j41(0,"td",33),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.typeTaxation,"")}}function Je(t,a){1&t&&(e.j41(0,"th",32),e.pXf(1,3),e.k0s())}function Ze(t,a){if(1&t&&(e.j41(0,"td",33),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.dateFacturation,"")}}function Ke(t,a){1&t&&(e.j41(0,"th",32),e.pXf(1,4),e.k0s())}function et(t,a){if(1&t&&(e.j41(0,"td",33),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.montantInitial,"")}}function tt(t,a){1&t&&(e.j41(0,"th",32),e.pXf(1,5),e.k0s())}function nt(t,a){if(1&t&&(e.j41(0,"td",33),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.anneeImposition,"")}}function ot(t,a){1&t&&(e.j41(0,"th",32),e.pXf(1,6),e.k0s())}function it(t,a){if(1&t&&(e.j41(0,"td",33),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.paimentNo,"")}}function at(t,a){1&t&&e.nrm(0,"th",32)}function rt(t,a){if(1&t){const n=e.RV6();e.j41(0,"td",33)(1,"button",34),e.bIt("click",function(){const i=e.eBV(n).$implicit,r=e.XpG(2);return e.Njj(r.download(i.facId,i.typTaxId,i.cycTaxId))}),e.nrm(2,"i",35),e.k0s()()}}function st(t,a){1&t&&e.nrm(0,"tr",36)}function _t(t,a){1&t&&e.nrm(0,"tr",37)}function lt(t,a){if(1&t){const n=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){e.eBV(n);const i=e.XpG(2);return e.Njj(i.paiementEnLigne())}),e.nrm(1,"i",39),e.EFF(2,"PAYER EN LIGNE"),e.k0s()}}function ct(t,a){if(1&t&&(e.j41(0,"a",40),e.nrm(1,"i",39),e.EFF(2,"INFORMATIONS SUR LES MODES DE PAIEMENT"),e.k0s()),2&t){const n=e.XpG(2);e.Y8G("href",n.taxOverview.howToPayLink,e.B4B)}}function pt(t,a){1&t&&(e.j41(0,"div",41),e.nrm(1,"i",42),e.j41(2,"span"),e.pXf(3,7),e.k0s()())}function dt(t,a){if(1&t&&(e.j41(0,"div")(1,"h1",11),e.pXf(2,0),e.k0s(),e.nrm(3,"div",12),e.nI1(4,"safeHtml"),e.j41(5,"div",13)(6,"table",14),e.qex(7,15),e.DNE(8,Be,2,0,"th",16)(9,qe,2,1,"td",17),e.bVm(),e.qex(10,18),e.DNE(11,Qe,2,0,"th",16)(12,We,2,1,"td",17),e.bVm(),e.qex(13,19),e.DNE(14,Je,2,0,"th",16)(15,Ze,2,1,"td",17),e.bVm(),e.qex(16,20),e.DNE(17,Ke,2,0,"th",16)(18,et,2,1,"td",17),e.bVm(),e.qex(19,21),e.DNE(20,tt,2,0,"th",16)(21,nt,2,1,"td",17),e.bVm(),e.qex(22,22),e.DNE(23,ot,2,0,"th",16)(24,it,2,1,"td",17),e.bVm(),e.qex(25,23),e.DNE(26,at,1,0,"th",16)(27,rt,3,0,"td",17),e.bVm(),e.DNE(28,st,1,0,"tr",24)(29,_t,1,0,"tr",25),e.k0s()(),e.j41(30,"div",26)(31,"div",27),e.DNE(32,lt,3,0,"button",28),e.k0s(),e.j41(33,"div",29),e.DNE(34,ct,3,1,"a",30),e.k0s()(),e.DNE(35,pt,4,0,"div",31),e.k0s()),2&t){const n=e.XpG();e.R7$(3),e.Y8G("innerHtml",e.bMT(4,7,n.featuredContent),e.npT),e.R7$(3),e.Y8G("dataSource",n.dataSource),e.R7$(22),e.Y8G("matHeaderRowDef",n.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",n.displayedColumns),e.R7$(3),e.Y8G("ngIf",n.taxOverview.howToPayLink),e.R7$(2),e.Y8G("ngIf",n.taxOverview.howToPayLink),e.R7$(),e.Y8G("ngIf",0==n.dataSource.length)}}let ut=(()=>{var t;class a{constructor(o,i,r,s,l,_){this.store=o,this.taxationService=i,this.appMetaTags=r,this.dialog=s,this.appConfig=l,this.router=_,this.dataSource=[],this.dataLoaded=!1,this.dataLoadingFailed=!1,this.displayedColumns=["noFacture","typeTaxation","dateFacturation","montantInitial","anneeImposition","paimentNo","download"],this.taxOverview={solde:0,dateEcheance:new Date,refNum:null,dateReleve:new Date,prochainsVersement:[],howToPayLink:null},this.subs=new M.yU,this.currentPropriete={},this.enumTypeTaxationHashArray=Object.values(S._b),this.currentMatricule=null,this.featuredContent=this.appConfig.appConfig.paramList.proprieteVueEnsemble?this.appConfig.appConfig.paramList.proprieteVueEnsemble:null,this.taxOverview.howToPayLink=this.appConfig.appConfig.paramList.taxationLienPaiment?this.appConfig.appConfig.paramList.taxationLienPaiment:null}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(r=>"propriete"===r);this.proprieteId=o[i+1],this.subs.add(this.taxationService.getCompteTaxes(this.proprieteId).subscribe(r=>{this.dataSource=r,this.dataLoaded=!0},()=>{this.dataLoadingFailed=!0})),this.userProprieteAccueilStatus$=this.store.select(P.selectUserProprieteAccueilStatus),this.loggedInUser$=this.store.select(P.selectIsLoggedIn),this.subs.add(this.store.select(A.t8(this.proprieteId)).subscribe(r=>{this.currentPropriete=null!=r?r:{}}))}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Avis Taxation")}download(o,i,r){var s=this;return(0,J.A)(function*(){s.reportSub&&s.reportSub.unsubscribe(),s.reportSub=s.taxationService.getFactureReportPdf(o,i,r).subscribe(l=>(0,H.saveAs)(l,s.enumTypeTaxationHashArray.filter(_=>_.id===i)[0].title),()=>{s.store.dispatch(new P.Actions.ShowSnackBar("Une erreur est survenue lors de la g\xE9n\xE9ration du rapport.",P.EnumSnackBarType.Ec
1hec))})})()}openCodeProprieteDialog(){this.addProprieteDialogRef=this.dialog.open(Z.V,{hasBackdrop:!1,width:"600px",data:{}}),this.addProprieteDialogRef.afterClosed().subscribe(o=>{o&&o.id&&this.router.navigate(["propriete","list"])})}openMutationDialog(){this.removeProprieteDialogRef=this.dialog.open(ee,{data:{ProprieteId:this.proprieteId,ProprieteAdr:this.currentPropriete.Adr_AdresseFormatte},panelClass:"delete-confirm",width:"600px"}),this.removeProprieteDialogRef.afterClosed().subscribe(o=>{o&&this.router.navigate(["propriete","list"])})}paiementEnLigne(){this.dialog.open(K,{data:{},width:u.Uq.Medium})}ngOnDestroy(){this.subs.unsubscribe(),this.reportSub&&this.reportSub.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(f.il),e.rXU(te.w),e.rXU(h.W),e.rXU(D.bZ),e.rXU(F.o),e.rXU(O.Ix))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-compte-taxe-content"]],decls:2,vars:2,consts:()=>{let n,o,i,r,s,l,_,d;return n="Comptes de taxes",o="N\xB0 facture",i="Type facture",r="Date",s="Montant",l="Ann\xE9e Imposition",_="N\xB0 Paiement",d="Vous n'avez aucun compte de taxes pour le moment",[n,o,i,r,s,l,_,d,[3,"loadingFailed",4,"ngIf"],[4,"ngIf"],[3,"loadingFailed"],[1,"margin-bottom-2"],[1,"froala-inner-html","fr-view","margin-bottom-2",3,"innerHtml"],[1,"responsive-table-stroked"],["mat-table","",1,"historique-table",3,"dataSource"],["matColumnDef","noFacture"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","typeTaxation"],["matColumnDef","dateFacturation"],["matColumnDef","montantInitial"],["matColumnDef","anneeImposition"],["matColumnDef","paimentNo"],["matColumnDef","download"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"margin-top-2",2,"display","flex"],[1,"payer-div"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],[1,"information-div"],["mat-raised-button","","color","primary","target","_blank",3,"href",4,"ngIf"],["class","no-content-placeholder margin-top-2",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","",3,"click"],[1,"icon-pdf"],["mat-header-row",""],["mat-row",""],["mat-raised-button","","color","primary",3,"click"],[1,"icon-external-link"],["mat-raised-button","","color","primary","target","_blank",3,"href"],[1,"no-content-placeholder","margin-top-2"],[1,"icon-dollar-sign"]]},template:function(o,i){1&o&&e.DNE(0,ze,1,1,"vplus-loading-spinner",8)(1,dt,36,9,"div",9),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded))},dependencies:[c.Zl,c.tL,c.ji,c.cC,c.YV,c.iL,c.KS,c.$R,c.YZ,c.NB,N.It,N.$z,N.iY,C.bT,I.N,He.$],styles:[".description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:not(:first-child){font-size:13px}th.mat-mdc-header-cell.cdk-header-cell.cdk-column-dateFacturation.mat-column-dateFacturation[_ngcontent-%COMP%]{text-align:center;padding-right:24px}td.mat-mdc-cell.cdk-cell.cdk-column-dateFacturation.mat-column-dateFacturation[_ngcontent-%COMP%]{text-align:center}th.mat-mdc-header-cell.cdk-header-cell.cdk-column-montantInitial.mat-column-montantInitial[_ngcontent-%COMP%], td.mat-mdc-cell.cdk-cell.cdk-column-montantInitial.mat-column-montantInitial[_ngcontent-%COMP%]{text-align:right;padding-right:24px}th.mat-mdc-header-cell.cdk-header-cell.cdk-column-anneeImposition.mat-column-anneeImposition[_ngcontent-%COMP%]{text-align:center;padding-right:24px}td.mat-mdc-cell.cdk-cell.cdk-column-anneeImposition.mat-column-anneeImposition[_ngcontent-%COMP%]{text-align:center}.payer-div[_ngcontent-%COMP%]{flex:26%;text-align:end;margin-right:10px}.information-div[_ngcontent-%COMP%]{flex:auto;text-align:start}"]}),a})();function Et(t,a){1&t&&(e.j41(0,"h1",5),e.EFF(1,"Correspondances"),e.k0s())}let mt=(()=>{var t;class a{constructor(){this.isInVueEnsemble=!1,this.correspondanceList=[{isNew:!0,expediteur:"D\xe9partement de l'\xe9valuation",objet:"Vous avez re\xe7u un avis de modification",date:new Date,content:'Voici votre avis <a href="">2020</a>'},{isNew:!0,expediteur:"D\xe9partement de l'\xe9valuation",objet:"Vous \xeates en retard de paiement",date:new Date,content:"Voici votre relev\xe9 en date du 4 octobre"},{isNew:!1,expediteur:"D\xe9partement de l'\xe9valuation",objet:"Vous avez une demande d'auto-d\xe9claration",date:new Date,content:""}],this.activeView=null}setActiveView(o,i){this.activeView=o,this.activeView.index=i}hideActiveView(o){this.correspondanceList[o.index].isNew=!1,this.activeView=null}}return(t=a).\u0275fac=function(o){return new(o||t)},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-correspondance-content"]],inputs:{isInVueEnsemble:"isInVueEnsemble"},decls:6,vars:1,consts:()=>{let n;return n="Vous n'avez aucune correspondance",[n,[1,""],["class","margin-bottom-2",4,"ngIf"],[1,"no-content-placeholder","margin-top-2"],[1,"icon-mail"],[1,"margin-bottom-2"]]},template:function(o,i){1&o&&(e.j41(0,"div",1),e.DNE(1,Et,2,0,"h1",2),e.j41(2,"div",3),e.nrm(3,"i",4),e.j41(4,"span"),e.pXf(5,0),e.k0s()()()),2&o&&(e.R7$(),e.Y8G("ngIf",!i.isInVueEnsemble))},dependencies:[C.bT],styles:[".mat-column-isNew[_ngcontent-%COMP%]{width:66px}"]}),a})();const m={DeclarationTravaux:{path:"declaration-travaux",value:"D\xE9claration des travaux",codeHR:"DECLARATION_DES_TRAVA
1UX"},DemandeRevision:{path:"demande-revision",value:"Demande de r\xE9vision",codeHR:"DEMANDE_DE_REVISION"},RegistreDeContructionNeuve:{path:"registre-construction",value:"Registre de construction neuve",codeHR:"REGISTRE_DE_CONSTRUCTION_NEUVE"},AutoDeclaration:{path:"auto-declaration",value:"Auto-d\xE9claration",codeHR:"AUTO_D\xc9CLARATION"},Enquetevente:{path:"enquete-vente",value:"Enqu\xEAte de vente",codeHR:"ENQUETE_DE_VENTE"},CollecteDonneesEconomique:{path:"collecte-donnees-economique",value:"Collecte de donn\xE9es \xE9conomiques",codeHR:"COLLECTE_DE_DONNEES_ECONOMIQUES"},HistoriqueFormulaire:{path:"historique-formulaires",value:"Historique des formulaires",codeHR:"HISTORIQUE_DES_FORMULAIRES"},DonneesPubliqueRole:{path:"donnees-publique-role",value:"Donn\xE9es publiques du r\xF4le",codeHR:"DONNNEES_DU_ROLE"},CertificatEvaluation:{path:"certificat-evaluation",value:"Certificats d'\xE9valuation",codeHR:"CERTIFICAT_EVALUATION"},AvisEvaluation:{path:"avis-evaluation",value:"Avis d'\xE9valuation",codeHR:"AVIS_EVALUATION"},ExplorerMarcheVoisinage:{path:"explorer-marche-voisinage",value:"Explorer le march\xE9 de mon voisinage",codeHR:"EXPLORER_LE_MACHE_DE_MON_VOISINAGE"}};let Pt=(()=>{var t;class a{constructor(o){this.appMetaTags=o,this.evolutionSrc="./../assets/placeholders/evolution-valeur.png"}ionViewWillEnter(){this.appMetaTags.updateMetaTags("\xC9volution de la valeur")}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W))},t.\u0275cmp=e.VBU({type:t,selectors:[["app-evolution-valeur-content"]],decls:5,vars:1,consts:()=>{let n;return n="\xC9volution de la valeur",[n,[1,"newsfeed-header"],[3,"src"]]},template:function(o,i){1&o&&(e.j41(0,"div",1)(1,"h2"),e.pXf(2,0),e.k0s(),e.nrm(3,"hr"),e.k0s(),e.nrm(4,"img",2)),2&o&&(e.R7$(4),e.Y8G("src",i.evolutionSrc,e.B4B))},encapsulation:2}),a})();var X=p(17370),Ct=p(45016),Tt=p(98377);function ft(t,a){1&t&&(e.j41(0,"span",12)(1,"b"),e.EFF(2,"Vente"),e.k0s()())}function Ot(t,a){if(1&t&&(e.j41(0,"span",12)(1,"b"),e.EFF(2,"Vente"),e.k0s(),e.EFF(3),e.k0s()),2&t){const n=e.XpG();e.R7$(3),e.Lme(" (",n.currentIndex+1,"/",n.properties.length,")")}}function gt(t,a){if(1&t){const n=e.RV6();e.j41(0,"button",13),e.bIt("click",function(){e.eBV(n);const i=e.XpG();return e.Njj(i.previousProperty())}),e.EFF(1,"\u2190"),e.k0s()}if(2&t){const n=e.XpG();e.Y8G("disabled",0===n.currentIndex)}}function Rt(t,a){if(1&t){const n=e.RV6();e.j41(0,"button",13),e.bIt("click",function(){e.eBV(n);const i=e.XpG();return e.Njj(i.nextProperty())}),e.EFF(1,"\u2192"),e.k0s()}if(2&t){const n=e.XpG();e.Y8G("disabled",n.currentIndex===n.properties.length-1)}}let ht=(()=>{var t;class a{constructor(){this.properties=[],this.close=new e.bkB,this.currentIndex=0}nextProperty(){this.currentIndex<this.properties.length-1&&this.currentIndex++}previousProperty(){this.currentIndex>0&&this.currentIndex--}}return(t=a).\u0275fac=function(o){return new(o||t)},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-maps-property-info"]],inputs:{properties:"properties"},outputs:{close:"close"},decls:29,vars:9,consts:[[1,"info-window-content"],[1,"info-banner"],["class","property-counter",4,"ngIf"],[1,"nav-buttons"],["class","nav-btn",3,"disabled","click",4,"ngIf"],["title","Fermer",1,"close-btn",3,"click"],[1,"property-info"],[1,"text-content"],[1,"info-row"],[1,"spacer"],[1,"image-container"],["alt","Propri\xe9t\xe9",1,"property-img",3,"src"],[1,"property-counter"],[1,"nav-btn",3,"click","disabled"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,ft,3,0,"span",2)(3,Ot,4,2,"span",2),e.j41(4,"div",3),e.DNE(5,gt,2,1,"button",4)(6,Rt,2,1,"button",4),e.j41(7,"button",5),e.bIt("click",function(){return i.close.emit()}),e.EFF(8,"\xd7"),e.k0s()()(),e.j41(9,"div",6)(10,"div",7)(11,"div",8)(12,"b"),e.EFF(13,"Adresse :"),e.k0s(),e.EFF(14),e.k0s(),e.j41(15,"div",8)(16,"b"),e.EFF(17,"Prix :"),e.k0s(),e.EFF(18),e.k0s(),e.j41(19,"div",8)(20,"b"),e.EFF(21,"Date :"),e.k0s(),e.EFF(22),e.nrm(23,"span",9),e.j41(24,"b"),e.EFF(25,"\xc9tages :"),e.k0s(),e.EFF(26),e.k0s()(),e.j41(27,"div",10),e.nrm(28,"img",11),e.k0s()()()),2&o){let r;e.R7$(2),e.Y8G("ngIf",1===i.properties.length),e.R7$(),e.Y8G("ngIf",i.properties.length>1),e.R7$(2),e.Y8G("ngIf",i.properties.length>1),e.R7$(),e.Y8G("ngIf",i.properties.length>1),e.R7$(8),e.SpI(" ",i.properties[i.currentIndex].address," "),e.R7$(4),e.SpI(" ",i.properties[i.currentIndex].price," "),e.R7$(4),e.SpI(" ",i.properties[i.currentIndex].date," "),e.R7$(4),e.SpI(" ",i.properties[i.currentIndex].floors," "),e.R7$(2),e.Y8G("src",null!==(r=i.properties[i.currentIndex].photoUrl)&&void 0!==r?r:"assets/img/no-photo-placeholder.svg",e.B4B)}},dependencies:[C.bT],styles:[".info-window-content[_ngcontent-%COMP%]{width:280px;overflow:hidden;font-family:Montserrat,sans-serif!important}.info-banner[_ngcontent-%COMP%]{background:#2563eb;
1color:#fff;padding:8px;display:flex;justify-content:space-between;align-items:center;font-size:14px}.nav-buttons[_ngcontent-%COMP%]{display:flex;gap:4px;align-items:center}.nav-btn[_ngcontent-%COMP%]{background:none;border:none;color:#fff;padding:2px 8px;cursor:pointer;border-radius:4px}.close-btn[_ngcontent-%COMP%]{background:none;border:none;color:#fff;font-size:20px;line-height:1;padding:0 8px;cursor:pointer;border-radius:4px;margin-left:4px}.nav-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.nav-btn[_ngcontent-%COMP%]:not(:disabled):hover, .close-btn[_ngcontent-%COMP%]:hover{background:#ffffff1a}.property-info[_ngcontent-%COMP%]{padding:8px 8px 0;font-size:13px}.text-content[_ngcontent-%COMP%]{margin-bottom:8px}.info-row[_ngcontent-%COMP%]{margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spacer[_ngcontent-%COMP%]{display:inline-block;width:12px}.image-container[_ngcontent-%COMP%]{width:100%;height:140px;overflow:hidden;border-radius:4px}.property-img[_ngcontent-%COMP%]{width:100%;height:100%;object-position:center}[_nghost-%COMP%] .gm-style .gm-style-iw-c{padding:0!important}[_nghost-%COMP%] .gm-style-iw-d{overflow:hidden!important;margin:0!important;padding:0!important}"]}),a})();var L=p(56977);const Mt=t=>({invisible:t});function Nt(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",14),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)("showBackButtonOnError",!1)}}function It(t,a){1&t&&(e.j41(0,"div")(1,"h1",9),e.pXf(2,1),e.k0s(),e.j41(3,"span"),e.pXf(4,2),e.k0s()())}function St(t,a){if(1&t&&e.nrm(0,"div",10),2&t){const n=e.XpG();e.Y8G("innerHTML",n.texteIntroduction,e.npT)}}function vt(t,a){1&t&&(e.j41(0,"div",15)(1,"div")(2,"b"),e.pXf(3,3),e.k0s()(),e.j41(4,"div",16),e.nrm(5,"div",17),e.j41(6,"div"),e.pXf(7,4),e.k0s()(),e.j41(8,"div",18),e.nrm(9,"div",19),e.j41(10,"div"),e.pXf(11,5),e.k0s()()())}function At(t,a){1&t&&e.nrm(0,"div",20)}function bt(t,a){if(1&t&&e.nrm(0,"div",10),2&t){const n=e.XpG();e.Y8G("innerHTML",n.texteMiseEngarde,e.npT)}}let Lt=(()=>{var t;class a extends X.dI{constructor(o,i,r,s,l,_,d){super(),this.appMetaTags=o,this.evaluationService=i,this.googleMapsService=r,this.viewContainerRef=s,this.store=l,this.appConfig=_,this.localisationService=d,this.dataLoaded=!1,this.dataLoadingFailed=!1,this.comparableMarkers=[],this.comparables=[],this.errorMessages={parametrageManquant:"Param\xe9trages manquants"}}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(_=>"propriete"===_),r=o[i+1],s=this.localisationService.getCurrentLocalisation();this.latitudeUe=this.appConfig.appConfig.latitudeCenter,this.longitudeUe=this.appConfig.appConfig.longitudeCenter;const l=[S._L.Introduction.id,S._L.MiseEnGarde.id,S._L.ComparableInsuffisant.id];this.evaluationService.fetchTexteEvaluation(l).pipe((0,x.n)(_=>{if(!_||_.length!==l.length)throw new Error(this.errorMessages.parametrageManquant);return this.parametresTexte=_,this.texteIntroduction=_.find(d=>d.TypModTexId===S._L.Introduction.id).texteEvaluationLocalisations.filter(d=>d.lclzTag===s)[0].contenu,this.texteMiseEngarde=_.find(d=>d.TypModTexId===S._L.MiseEnGarde.id).texteEvaluationLocalisations.filter(d=>d.lclzTag===s)[0].contenu,this.evaluationService.getParametreRecherche()}),(0,x.n)(_=>{if(!_)throw new Error(this.errorMessages.parametrageManquant);return this.parametreDeRecherche=_,this.store.select(A.t8(r))}),(0,x.n)(_=>this.evaluationService.getProprietesComparables(_.munCode,_.noDossier,_.matricule)),(0,L.Q)(this.destroy$)).subscribe({next:_=>{_.eligibilite?(this.marcheVoisinageDisponible=!0,this.latitudeUe=_.dossierReference.latitude,this.longitudeUe=_.dossierReference.longitude,this.comparables=_.dossierComparables,this.comparables.length<this.parametreDeRecherche.minComparable?this.texteComparableInsuffisant=this.parametresTexte.find(d=>d.TypModTexId===S._L.ComparableInsuffisant.id).texteEvaluationLocalisations.filter(d=>d.lclzTag===s)[0].contenu:this.prepareMap()):this.marcheVoisinageDisponible=!1,this.dataLoaded=!0},error:_=>{this.marcheVoisinageDisponible=_.message!==this.errorMessages.parametrageManquant,this.dataLoadingFailed=_.message!==this.errorMessages.parametrageManquant,this.dataLoaded=!this.dataLoadingFailed}})}prepareMap(){this.map=this.googleMapsService.createMap("div#google-map-container",{center:{lat:this.latitudeUe,lng:this.longitudeUe},zoom:15,fullscreenControl:!1}),this.createSelectionMarker(),this.setComparableMarkers(),this.fitZoomMarkers(),this.dataLoaded=!0}createSelectionMarker(){let o={lat:0,lng:0},i=!1;const r={url:"assets/map/marker.png",scaledSize:new window.google.maps.Size(28,36)};o={lat:this.latitudeUe,lng:this.longitudeUe},i=!0;const s=this.googleMapsService.createMarker({position:o,map:this.map,visible:!0,optimized:!1,icon:r,zIndex:99999999});s.addListener("click",()=>{this.clickOnUE(s)})}
1setComparableMarkers(){this.comparables.forEach(o=>{this.comparableMarkers.find(i=>i.get("noDossier")===o.noDossierComparable)||this.createcomparableMarker(o.latitude,o.longitude,o)}),this.comparableMarkers.forEach(o=>{const i=o.get("noDossier");this.comparables.find(r=>r.noDossierComparable===i)||this.deletecomparableMarker(i)})}createcomparableMarker(o,i,r){var s,l,_;const d={url:"assets/map/marker-house-2.png",scaledSize:new window.google.maps.Size(28,36)},R=this.googleMapsService.createMarker({position:{lat:o,lng:i},map:this.map,visible:!0,optimized:!1,icon:d});R.addListener("click",()=>{this.clickOnUE(R)});const B=r.adresse?r.adresse.toLowerCase().split(" ").map(w=>w.charAt(0).toUpperCase()+w.slice(1)).join(" "):"";r.adresse=B.replace(/(^|[\s-])\S/g,w=>w.toUpperCase()),R.set("noDossier",r.noDossierComparable),R.set("adresse",r.adresse),R.set("dateVigueur",null!==(s=r.dateVigueur)&&void 0!==s?s:""),R.set("prixVente",null!==(l=r.prixVente)&&void 0!==l?l:""),R.set("etage",null!==(_=r.etage)&&void 0!==_?_:""),this.comparableMarkers.push(R)}deletecomparableMarker(o){this.comparableMarkers.forEach((i,r)=>{if(i.get("noDossier")===o)return this.comparableMarkers[r].setMap(null),void(this.comparableMarkers=[...this.comparableMarkers.slice(0,r),...this.comparableMarkers.slice(r+1)])})}clickOnUE(o){const i=[];for(const E of this.comparables)if(E.latitude===o.position.lat()&&E.longitude===o.position.lng()){var r,s,l;i.push({address:E.adresse,date:null!==(r=E.dateVigueur)&&void 0!==r?r:"",floors:null!==(s=E.etage)&&void 0!==s?s:"",price:null!==(l=E.prixVente)&&void 0!==l?l:"",photoUrl:E.photoPrincipaleUrl})}if(0===i.length)return;const _=this.viewContainerRef.createComponent(ht);_.instance.properties=i,_.changeDetectorRef.detectChanges();const d=new google.maps.InfoWindow({content:_.location.nativeElement,headerDisabled:!0,maxWidth:280,disableAutoPan:!1});_.instance.close.subscribe(()=>{d.close()}),d.open({anchor:o,map:this.map})}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Explorateur de march\xE9")}fitZoomMarkers(){const o=new google.maps.LatLngBounds;if(this.comparableMarkers.length>0){for(const r of this.comparableMarkers)o.extend(r.getPosition());this.map.setCenter({lat:this.latitudeUe,lng:this.longitudeUe}),this.map.setCenter(o.getCenter()),this.map.fitBounds(o)}}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W),e.rXU(j.W),e.rXU(Ct.s),e.rXU(e.c1b),e.rXU(f.il),e.rXU(F.o),e.rXU(Tt.A))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-explorateur-marche-content"]],features:[e.Vt3],decls:10,vars:10,consts:()=>{let n,o,i,r,s,l;return n="Explorer le march\xE9 de mon voisinage",o="Explorer le march\xE9 de mon voisinage",i="Le march\xE9 du voisinage n'est pas disponible pour cette propri\xE9t\xE9.",r="L\xE9gende et conseils pour effectuer votre recherche :",s=" Le pointeur rouge positionne votre propri\xE9t\xE9 sur la carte.",l=" Cliquez sur les pictogrammes des propri\xE9t\xE9s situ\xE9es dans votre secteur afin d'obtenir les renseignements relatifs \xE0 leur vente.",[n,o,i,r,s,l,[3,"loadingFailed","showBackButtonOnError",4,"ngIf"],[4,"ngIf"],[1,"content-explorateur",3,"ngClass"],[1,"margin-bottom-2"],[3,"innerHTML"],[3,"innerHTML",4,"ngIf"],["class","margin-top-2 margin-bottom-2",4,"ngIf"],["class","margin-top-2 margin-bottom-2","id","google-map-container","style","height: 500px;",4,"ngIf"],[3,"loadingFailed","showBackButtonOnError"],[1,"margin-top-2","margin-bottom-2"],[1,"pointeur-my-propriete","border-div-top","border-div-bottom","padding-top-1","padding-bottom-1"],[1,"icon-my-propriete","padding-right-2"],[1,"pointeur-other-propriete","border-div-bottom","padding-top-1","padding-bottom-1"],[1,"icon-other","padding-right-2"],["id","google-map-container",1,"margin-top-2","margin-bottom-2",2,"height","500px"]]},template:function(o,i){1&o&&(e.DNE(0,Nt,1,2,"vplus-loading-spinner",6)(1,It,5,0,"div",7),e.j41(2,"div",8)(3,"h1",9),e.pXf(4,0),e.k0s(),e.nrm(5,"div",10),e.DNE(6,St,1,1,"div",11)(7,vt,12,0,"div",12)(8,At,1,0,"div",13)(9,bt,1,1,"div",11),e.k0s()),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded&&!i.marcheVoisinageDisponible),e.R7$(),e.Y8G("ngClass",e.eq3(8,Mt,!i.dataLoaded||!i.marcheVoisinageDisponible)),e.R7$(3),e.Y8G("innerHTML",i.texteComparableInsuffisant,e.npT),e.R7$(),e.Y8G("ngIf",!i.texteComparableInsuffisant),e.R7$(),e.Y8G("ngIf",!i.texteComparableInsuffisant),e.R7$(),e.Y8G("ngIf",!i.texteComparableInsuffisant),e.R7$(),e.Y8G("ngIf",!i.texteComparableInsuffisant))},dependencies:[C.YU,C.bT,I.N],styles:[".border-div-top[_ngcontent-%COMP%]{border-top:2px solid rgb(143,143,138)}.border-div-bottom[_ngcontent-%COMP%]{border-bottom:2px solid rgb(143,143,138)}.pointeur-my-propriete[_ngcontent-%COMP%]{display:flex;height:70px}
1.pointeur-other-propriete[_ngcontent-%COMP%]{display:flex}.icon-my-propriete[_ngcontent-%COMP%]{background-image:url(/../../../../../assets/map/marker.png);background-size:20px;background-repeat:no-repeat no-repeat}.icon-other[_ngcontent-%COMP%]{background-image:url(/../../../../../assets/map/marker-house-2.png);background-size:20px;background-repeat:no-repeat no-repeat}[_nghost-%COMP%] .gm-style .gm-style-iw-c{max-width:400px!important;max-height:280px!important;min-width:0px}[_nghost-%COMP%] .popup-map{padding-top:2px}[_nghost-%COMP%] .popup-map .text{font-size:15px}[_nghost-%COMP%] .popup-map .popup-photo{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .popup-map .popup-photo img{width:200px;height:150px}"]}),a})();var Dt=p(44822),$t=p(69504),G=p(93948);const xt=(t,a)=>[t,a];function Ft(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",6),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}function kt(t,a){if(1&t){const n=e.RV6();e.j41(0,"button",14),e.bIt("click",function(){e.eBV(n);const i=e.XpG(3);return e.Njj(i.createDeclarationTravaux())}),e.nrm(1,"i",15),e.EFF(2,"D\xe9clarer des travaux"),e.k0s()}}function Ut(t,a){if(1&t){const n=e.RV6();e.j41(0,"button",14),e.bIt("click",function(){e.eBV(n);const i=e.XpG(3);return e.Njj(i.createDemandeRevision())}),e.nrm(1,"i",15),e.EFF(2,"Demande de r\xe9vision"),e.k0s()}}function Gt(t,a){if(1&t&&(e.j41(0,"div",12),e.DNE(1,kt,3,0,"button",13)(2,Ut,3,0,"button",13),e.k0s()),2&t){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.frmTypePath===n.EnumFormulaireMenuTypeNom.DeclarationTravaux.path),e.R7$(),e.Y8G("ngIf",n.frmTypePath===n.EnumFormulaireMenuTypeNom.DemandeRevision.path)}}function yt(t,a){1&t&&e.nrm(0,"th",28)}function Xt(t,a){if(1&t){const n=e.RV6();e.j41(0,"td",29)(1,"ion-button",30),e.bIt("click",function(){const i=e.eBV(n).$implicit,r=e.XpG(3);return e.Njj(r.redirectToForm(i.numeroId,i.formTypeId))}),e.EFF(2),e.nI1(3,"date"),e.nI1(4,"date"),e.k0s()()}if(2&t){const n=a.$implicit;e.R7$(2),e.SpI(" ",e.i5U(3,1,n.dateCreation,"yyyy-MM-dd HH:mm:ss")==e.i5U(4,4,n.dateModification,"yyyy-MM-dd HH:mm:ss")?"Commencer":"Poursuivre"," ")}}function Vt(t,a){1&t&&(e.j41(0,"th",28),e.EFF(1,"Titre"),e.k0s())}function wt(t,a){if(1&t&&(e.j41(0,"td",29),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.titre,"")}}function jt(t,a){1&t&&(e.j41(0,"th",28),e.pXf(1,0),e.k0s())}function Yt(t,a){if(1&t&&(e.qex(0),e.j41(1,"p"),e.EFF(2),e.k0s(),e.j41(3,"p"),e.EFF(4),e.k0s(),e.j41(5,"p"),e.EFF(6),e.k0s(),e.j41(7,"p"),e.EFF(8),e.k0s(),e.bVm()),2&t){const n=e.XpG().$implicit;e.R7$(2),e.SpI("- Dossier: ",n.generalInfo.numeroDossier,""),e.R7$(2),e.SpI("- Dossier(s) impliqu\xe9(s): ",n.generalInfo.totalDossier,""),e.R7$(2),e.SpI("- Date de vente: ",n.generalInfo.dateVente,""),e.R7$(2),e.SpI("- Num\xe9ro d'inspection: ",n.generalInfo.numInspection,"")}}function Ht(t,a){if(1&t&&(e.j41(0,"td",31),e.EFF(1),e.DNE(2,Yt,9,4,"ng-container",32),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.description," "),e.R7$(),e.Y8G("ngIf",n.generalInfo)}}function zt(t,a){1&t&&(e.j41(0,"th",28),e.pXf(1,1),e.k0s())}function Bt(t,a){if(1&t&&(e.j41(0,"td",29),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,n.dateCreation,"yyyy-MM-dd"),"")}}function qt(t,a){1&t&&(e.j41(0,"th",28),e.pXf(1,2),e.k0s())}function Qt(t,a){if(1&t&&(e.j41(0,"td",29),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,n.dateModification,"yyyy-MM-dd"),"")}}function Wt(t,a){1&t&&e.nrm(0,"tr",33)}function Jt(t,a){1&t&&e.nrm(0,"tr",34)}function Zt(t,a){if(1&t&&(e.j41(0,"div",16)(1,"table",17),e.qex(2,18),e.DNE(3,yt,1,0,"th",19)(4,Xt,5,7,"td",20),e.bVm(),e.qex(5,21),e.DNE(6,Vt,2,0,"th",19)(7,wt,2,1,"td",20),e.bVm(),e.qex(8,22),e.DNE(9,jt,2,0,"th",19)(10,Ht,3,2,"td",23),e.bVm(),e.qex(11,24),e.DNE(12,zt,2,0,"th",19)(13,Bt,3,4,"td",20),e.bVm(),e.qex(14,25),e.DNE(15,qt,2,0,"th",19)(16,Qt,3,4,"td",20),e.bVm(),e.DNE(17,Wt,1,0,"tr",26)(18,Jt,1,0,"tr",27),e.k0s()()),2&t){const n=e.XpG(2);e.R7$(),e.Y8G("dataSource",n.dataSrcProprieteForm),e.R7$(16),e.Y8G("matHeaderRowDef",n.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",n.displayedColumns)}}function Kt(t,a){1&t&&(e.j41(0,"div",35),e.nrm(1,"i",36),e.j41(2,"span"),e.pXf(3,3),e.k0s()())}function en(t,a){if(1&t&&(e.j41(0,"div",7)(1,"h1",8),e.EFF(2,"Formulaires"),e.k0s(),e.DNE(3,Gt,3,2,"div",9)(4,Zt,19,3,"div",10)(5,Kt,4,0,"div",11),e.k0s()),2&t){const n=e.XpG();e.R7$(3),e.Y8G("ngIf",n.allowBtnActions&&e.l_i(3,xt,n.EnumFormulaireMenuTypeNom.DeclarationTravaux.path,n.EnumFormulaireMenuTypeNom.DemandeRevision.path).includes(n.frmTypePath)),e.R7$(),e.Y8G("ngIf",n.proprieteFormList&&n.proprieteFormList.length>0),e.R7$(),e.Y8G("ngIf",!n.proprieteFormList||0==n.proprieteFormList.length)}}let $=(()=>{var t;class a{constructor(o,i,r,s,l,_){this.router=o,this.store=i,this.actions$=r,this.appConfig=s,this.appMetaTags=l,this.proprieteService=_,this.filterFrmTypIds=[u.Fj.DECLARATION_TRAVAUX],this.EnumFormulaireMenuTypeNom=m,this.subs=new M.yU,this.dataLoaded=!1,this.dataLoadingFailed=!1,this.proprieteFormList=[],this.environment=T.c,this.environmentVQ=!1,this.checkEnvironment=!1,this.allowBtnActions=!1,this.displayedColumns=["remplir","titre","description","dateCreation","dateModification"];const d=location.href.split("/"),E=d.findIndex(R=>"propriete"===R);switch(this.proprieteId=d[E+1],this.frmTypePath=d[d.length-1],this.frmTypePath){case m.DeclarationTravaux.path:this.filterFrmTypIds=[u.Fj.DECLARATION_TRAVAUX];break;case m.DemandeRevision.path:this.filterFrmTypIds=[u.Fj.DEMANDE_REVISION];break;case m.RegistreDeContructionNeuve.path:this.filterFrmTypIds=[u.Fj.REGISTRE_CONSTRUCTION_NON_RESIDENTIEL,u.Fj.REGISTRE_CONSTRUCTION_RESIDENTIEL];break;case m.AutoDeclaration.path:this.filterFrmTypIds=[u.Fj.RESIDENTIEL_STANDARD,u.Fj.RESIDENTIEL_CONDO];break;case m.Enquetevente.path:this.filterFrmTypIds=[u.Fj.ENQUETE_VENTE];break;case m.CollecteDonneesEconomique.path:this.filterFrmTypIds=[u.Fj.REVENUS_DEPENSES,u.Fj.ESPACES_LOCATIFS]}}redirectToForm(o,i){const r=location.href.split("/"),s=r.findIndex(d=>"propriete"===d),l=r[s+1];let _;switch(i){case u.Fj.RESIDENTIEL_STANDARD:case u.Fj.RESIDENTIEL_CONDO:_=`/propriete/${l}/auto-declaration/formulaire`;break;case u.Fj.ESPACES_LOCATIFS:_=`/propriete/${l}/espaces-locatifs/formulaire`;break;case u.Fj.REVENUS_DEPENSES:_=`/propriete/${l}/revenus-depenses/formulaire`;break;case u.Fj.ENQUETE_VENTE:_=`/propriete/${l}/enquete-vente/formulaire`;break;case u.Fj.REGISTRE_CONSTRUCTION_RESIDENTIEL:_=`/propriete/${l}/registre-construction/residentiel/formulaire`;break;case u.Fj.REGISTRE_CONSTRUCTION_NON_RESIDENTIEL:_=`/propriete/${l}/registre-construction/non-residentiel/formulaire`;break;
1case u.Fj.DECLARATION_TRAVAUX:_=`/propriete/${l}/declaration-travaux/formulaire`;break;case u.Fj.DEMANDE_REVISION:_=`/propriete/${l}/demande-revision/formulaire`}this.router.navigate([_,o])}ngOnInit(){this.environmentVQ="VQ"===T.c.clientName,this.checkEnvironment=!T.c.production&&!T.c.envName.startsWith("simulation")||"modelliumville"===this.appConfig.appConfig.appNom;const o=!!this.appConfig.appConfig.paramList.allowDeclarationTravaux,i=T.c.envName.startsWith("simulation")&&"sherbrooke"===this.appConfig.appConfig.appNom;this.allowBtnActions=!this.environmentVQ&&(this.checkEnvironment||o||i),this.proprieteFormList$=this.store.select(A.hm(this.filterFrmTypIds)),this.dataSrcProprieteForm=new Dt.K(this.proprieteFormList$),this.subs.add(this.proprieteFormList$.subscribe(r=>{this.proprieteFormList=r})),this.subs.add(this.actions$.pipe((0,k.gp)(b.createDemandeTravauxSuccess,b.createDemandeRCNRSuccess,b.createDemandeRCNNRSuccess)).subscribe(()=>this.loadData(!0))),this.loadData()}loadData(o=!1){this.formListSub$&&this.formListSub$.unsubscribe(),this.formListSub$=this.proprieteService.fetchUserProprieteForms(this.proprieteId).subscribe({next:i=>{this.store.dispatch(new b.LoadUserProprieteFormListSuccess(i)),o||(this.dataLoaded=!0)},error:()=>{o||(this.dataLoadingFailed=!0)}})}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Formulaires")}createDeclarationTravaux(){this.store.dispatch(b.createDemandeTravaux({proprieteId:this.proprieteId}))}createDemandeRevision(){this.subs.add(this.proprieteService.creationFormulaire(this.proprieteId,$t.y_.DemandeRevision).subscribe(()=>{this.loadData(!0)}))}ngOnDestroy(){this.formListSub$&&this.formListSub$.unsubscribe(),this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(O.Ix),e.rXU(f.il),e.rXU(k.En),e.rXU(F.o),e.rXU(h.W),e.rXU(G.K))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-formulaires-propriete-content"]],inputs:{frmTypePath:"frmTypePath"},decls:2,vars:2,consts:()=>{let n,o,i,r;return n="Description",o="Date de cr\xE9ation",i="Date de modification",r="Vous n'avez aucun formulaire \xE0 remplir pour le moment",[n,o,i,r,[3,"loadingFailed",4,"ngIf"],["class","main-page-container",4,"ngIf"],[3,"loadingFailed"],[1,"main-page-container"],[1,"margin-bottom-2"],["class","proprietes-list-table-actions",4,"ngIf"],["class","responsive-table-stroked",4,"ngIf"],["class","no-content-placeholder margin-top-2",4,"ngIf"],[1,"proprietes-list-table-actions"],["mat-raised-button","","type","button","class","custom-button-standard custom-button-stroked","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","type","button","color","primary",1,"custom-button-standard","custom-button-stroked",3,"click"],[1,"icon-add"],[1,"responsive-table-stroked"],["mat-table","",1,"formulaires-table",3,"dataSource"],["matColumnDef","remplir"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","titre"],["matColumnDef","description"],["mat-cell","","class","description-td",4,"matCellDef"],["matColumnDef","dateCreation"],["matColumnDef","dateModification"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"ion-custom-button-standard","ion-custom-button-full","ion-custom-table-button",3,"click"],["mat-cell","",1,"description-td"],[4,"ngIf"],["mat-header-row",""],["mat-row",""],[1,"no-content-placeholder","margin-top-2"],[1,"icon-edit"]]},template:function(o,i){1&o&&e.DNE(0,Ft,1,1,"vplus-loading-spinner",4)(1,en,6,6,"div",5),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded))},dependencies:[c.Zl,c.tL,c.ji,c.cC,c.YV,c.iL,c.KS,c.$R,c.YZ,c.NB,N.$z,C.bT,U.Jm,I.N,C.vh],styles:[".description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.description-td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:not(:first-child){font-size:13px}.mat-column-titre[_ngcontent-%COMP%]{min-width:170px;max-width:170px}.mat-column-description[_ngcontent-%COMP%]{min-width:270px;max-width:480px}.mat-column-dateCreation[_ngcontent-%COMP%], .mat-column-dateModification[_ngcontent-%COMP%]{min-width:120px}"]}),a})();function tn(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",7),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}function nn(t,a){1&t&&e.nrm(0,"th",22)}function on(t,a){if(1&t){const n=e.RV6();e.j41(0,"td",23)(1,"ion-button",24),e.bIt("click",function(){const i=e.eBV(n).$implicit,r=e.XpG(3);return e.Njj(r.telechargerRapport(i))}),e.pXf(2,0),e.k0s()()}}function an(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,1),e.k0s())}function rn(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.titre,"")}}function sn(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,2),e.k0s())}function _n(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.description,"")}}function ln(t,a){1&t&&(e.j41(0,"th",22),e.pXf(1,3),e.k0s())}function cn(t,a){if(1&t&&(e.j41(0,"td",23),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,n.dateCompletion,"yyyy-MM-dd"),"")}}function pn(t,a){1&t&&e.nrm(0,"tr",25)}function dn(t,a){1&t&&e.nrm(0,"tr",26)}function un(t,a){if(1&t&&(e.j41(0,"div",12)(1,"table",13),e.qex(2,14),e.DNE(3,nn,1,0,"th",15)(4,on,3,0,"td",16),e.bVm(),e.qex(5,17),e.DNE(6,an,2,0,"th",15)(7,rn,2,1,"td",16),e.bVm(),e.qex(8,18),e.DNE(9,sn,2,0,"th",15)(10,_n,2,1,"td",16),e.bVm(),e.qex(11,19),e.DNE(12,ln,2,0,"th",15)(13,cn,3,4,"td",16),e.bVm(),e.DNE(14,pn,1,0,"tr",20)(15,dn,1,0,"tr",21),e.k0s()()),2&t){const n=e.XpG(2);e.R7$(),e.Y8G("dataSource",n.proprieteFormList),e.R7$(13),e.Y8G("matHeaderRowDef",n.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",n.displayedColumns)}}function En(t,a){1&t&&(e.j41(0,"div",27),e.nrm(1,"i",28),e.j41(2,"span"),e.pXf(3,4),e.k0s()())}function mn(t,a){if(1&t&&(e.j41(0,"div",8)(1,"h1",9),e.EFF(2,"Historique des formulaires"),e.k0s(),e.DNE(3,un,16,3,"div",10)(4,En,4,0,"div",11),e.k0s()),2&t){const n=e.XpG();e.R7$(3),e.Y8G("ngIf",n.proprieteFormList.length>0),e.R7$(),e.Y8G("ngIf",0===n.proprieteFormList.length)}}let Pn=(()=>{var t;class a{constructor(o,i,r,s){this.appMetaTags=o,this.backendService=i,this.proprieteService=r,this.store=s,this.dataLoaded=!1,this.dataLoadingFailed=!1,this.displayedColumns=["telecharger","titre","description","dateCompletion"],this.subs=new M.yU}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(s=>"propriete"===s);this.subs.add(this.proprieteService.fetchUserProprieteFormHistory(o[i+1]).subscribe({next:s=>{this.proprieteFormList=s,this.dataLoaded=!0},error:()=>{this.dataLoadingFailed=!0}}))}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Historique des formulaires")}telechargerRapport(o){this.subs.add(this.backendService.getPDF(`/forms/pdf/historique/${o.numeroId}`).subscribe({next:i=>{(0,H.saveAs)(i,"declaration.pdf")},error:()=>{this.store.dispatch(new P.Actions.ShowSnackBar("\xc9chec lors de la g\xe9n\xe9ration du document. Veuillez r\xe9essayer.",P.EnumSnackBarType.Ec
1hec))}}))}ngOnDestroy(){this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W),e.rXU(X.m3),e.rXU(G.K),e.rXU(f.il))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-historique-content"]],decls:2,vars:2,consts:()=>{let n,o,i,r,s;return n=" T\xE9l\xE9charger ",o="Titre",i="Description",r="Date de compl\xE9tion",s="Aucun formulaire n'est compl\xE9t\xE9 pour le moment",[n,o,i,r,s,[3,"loadingFailed",4,"ngIf"],["class","main-page-container",4,"ngIf"],[3,"loadingFailed"],[1,"main-page-container"],[1,"margin-bottom-2"],["class","responsive-table-stroked",4,"ngIf"],["class","no-content-placeholder margin-top-2",4,"ngIf"],[1,"responsive-table-stroked"],["mat-table","",1,"historique-table",3,"dataSource"],["matColumnDef","telecharger"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","titre"],["matColumnDef","description"],["matColumnDef","dateCompletion"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"ion-custom-button-standard","ion-custom-button-full","ion-custom-table-button",3,"click"],["mat-header-row",""],["mat-row",""],[1,"no-content-placeholder","margin-top-2"],[1,"icon-temps"]]},template:function(o,i){1&o&&e.DNE(0,tn,1,1,"vplus-loading-spinner",5)(1,mn,5,2,"div",6),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded))},dependencies:[c.Zl,c.tL,c.ji,c.cC,c.YV,c.iL,c.KS,c.$R,c.YZ,c.NB,C.bT,U.Jm,I.N,C.vh],styles:[".mat-column-titre[_ngcontent-%COMP%]{min-width:170px;max-width:170px}.mat-column-description[_ngcontent-%COMP%]{min-width:270px}"]}),a})();function Cn(t,a){1&t&&(e.j41(0,"th",12),e.pXf(1,1),e.k0s())}function Tn(t,a){if(1&t&&(e.j41(0,"td",13),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.date,"")}}function fn(t,a){1&t&&(e.j41(0,"th",12),e.pXf(1,2),e.k0s())}function On(t,a){if(1&t&&(e.j41(0,"td",13),e.EFF(1),e.k0s()),2&t){const n=a.$implicit;e.R7$(),e.SpI(" ",n.prix,"")}}function gn(t,a){1&t&&e.nrm(0,"tr",14)}function Rn(t,a){1&t&&e.nrm(0,"tr",15)}let hn=(()=>{var t;class a{constructor(o){this.appMetaTags=o,this.ventesDataSource=[{date:"12 mai 2004",prix:"258 000$"}],this.displayedColumnsVente=["date","prix"]}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Historique des ventes")}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W))},t.\u0275cmp=e.VBU({type:t,selectors:[["app-historique-ventes-content"]],decls:14,vars:3,consts:()=>{let n,o,i;return n="Historique des ventes",o="Date de vente",i="Prix de vente",[n,o,i,[1,"newsfeed-header"],[1,"responsive-table-stroked"],["mat-table","",1,"historique-table",3,"dataSource"],["matColumnDef","date"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","prix"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]]},template:function(o,i){1&o&&(e.j41(0,"div",3)(1,"h2"),e.pXf(2,0),e.k0s(),e.nrm(3,"hr"),e.k0s(),e.j41(4,"div",4)(5,"table",5),e.qex(6,6),e.DNE(7,Cn,2,0,"th",7)(8,Tn,2,1,"td",8),e.bVm(),e.qex(9,9),e.DNE(10,fn,2,0,"th",7)(11,On,2,1,"td",8),e.bVm(),e.DNE(12,gn,1,0,"tr",10)(13,Rn,1,0,"tr",11),e.k0s()()),2&o&&(e.R7$(5),e.Y8G("dataSource",i.ventesDataSource),e.R7$(7),e.Y8G("matHeaderRowDef",i.displayedColumnsVente),e.R7$(),e.Y8G("matRowDefColumns",i.displayedColumnsVente))},dependencies:[c.Zl,c.tL,c.ji,c.cC,c.YV,c.iL,c.KS,c.$R,c.YZ,c.NB],encapsulation:2}),a})();var V=p(9606),y=p(30049),Mn=p(81405),Nn=p(87748);const In=["content"],Sn=t=>({"filter-searche-global-active":t}),vn=t=>({"light-active-color":t}),An=()=>["/propriete","list"],bn=t=>["/propriete",t,"evaluation"],z=t=>({active:t}),g=(t,a)=>["/propriete",t,"evaluation",a],Ln=t=>["/propriete",t,"taxation"],Dn=t=>["/propriete",t,"taxation","compte"],$n=t=>["/propriete",t,"taxation","releve"],xn=t=>["/propriete",t,"modes-communication"];function Fn(t,a){if(1&t&&(e.j41(0,"a",24)(1,"span"),e.nrm(2,"i",25),e.k0s(),e.j41(3,"span"),e.pXf(4,3),e.k0s()()),2&t){const n=e.XpG();e.Y8G("routerLink",e.eq3(1,bn,n.ProprieteId))}}function kn(t,a){if(1&t&&(e.j41(0,"div",26)(1,"a",27),e.nrm(2,"span"),e.j41(3,"span"),e.EFF(4),e.k0s()()()),2&t){const n=e.XpG();e.Y8G("ngClass",e.eq3(3,z,n.currentUrl.match("/evaluation/"))),e.R7$(),e.Y8G("routerLink",e.l_i(5,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.CertificatEvaluation.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.CertificatEvaluation.value)}}function Un(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.AvisEvaluation.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.AvisEvaluation.value)}}function Gn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.DeclarationTravaux.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.DeclarationTravaux.value)}}function yn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.DemandeRevision.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.DemandeRevision.value)}}function Xn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.RegistreDeContructionNeuve.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.RegistreDeContructionNeuve.value)}}function Vn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.AutoDeclaration.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.AutoDeclaration.value)}}function wn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.Enquetevente.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.Enquetevente.value)}}function jn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.CollecteDonneesEconomique.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.CollecteDonneesEconomique.value)}}function Yn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.HistoriqueFormulaire.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.HistoriqueFormulaire.value)}}function Hn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.DonneesPubliqueRole.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.DonneesPubliqueRole.value)}}function zn(t,a){if(1&t&&(e.j41(0,"a",27),e.nrm(1,"span"),e.j41(2,"span",29),e.EFF(3),e.k0s()()),2&t){const n=e.XpG(2);e.Y8G("routerLink",e.l_i(2,g,n.ProprieteId,n.EnumFormulaireMenuTypeNom.ExplorerMarcheVoisinage.path)),e.R7$(3),e.JRh(n.EnumFormulaireMenuTypeNom.ExplorerMarcheVoisinage.value)}}function Bn(t,a){if(1&t&&(e.j41(0,"div",26),e.DNE(1,Un,4,5,"a",28)(2,Gn,4,5,"a",28)(3,yn,4,5,"a",28)(4,Xn,4,5,"a",28)(5,Vn,4,5,"a",28)(6,wn,4,5,"a",28)(7,jn,4,5,"a",28)(8,Yn,4,5,"a",28)(9,Hn,4,5,"a",28)(10,zn,4,5,"a",28),e.k0s()),2&t){const n=e.XpG();e.Y8G("ngClass",e.eq3(11,z,n.currentUrl.match("/evaluation/"))),e.R7$(),e.Y8G("ngIf",n.menuVisibility.AvisEvaluation),e.R7$(),e.Y8G("ngIf",n.menuVisibility.DeclarationTravaux&&!n.modulesActifs.includes(n.EnumModule.Taxation)),e.R7$(),e.Y8G("ngIf",n.menuVisibility.DemandeRevision&&!n.modulesActifs.includes(n.EnumModule.Taxation)),e.R7$(),e.Y8G("ngIf",!n.modulesActifs.includes(n.EnumModule.Taxation)&&n.hasRegistreContructionNeuve),e.R7$(),e.Y8G("ngIf",!n.modulesActifs.includes(n.EnumModule.Taxation)&&n.hasAutoDeclarationForm),e.R7$(),e.Y8G("ngIf",!n.modulesActifs.includes(n.EnumModule.Taxation)&&n.hasEnqueteVenteForm),e.R7$(),e.Y8G("ngIf",!n.modulesActifs.includes(n.EnumModule.Taxation)&&n.hasCollecteDonneesEco),e.R7$(),e.Y8G("ngIf",!n.modulesActifs.includes(n.EnumModule.Taxation)),e.R7$(),e.Y8G("ngIf",!n.isLaval&&!n.modulesActifs.includes(n.EnumModule.Taxation)&&n.modulesActifs.includes(n.EnumModule.Cpr)),e.R7$(),e.Y8G("ngIf",n.menuVisibility.MarcheVoisinage)}}function qn(t,a){if(1&t&&(e.j41(0,"a",24)(1,"span"),e.nrm(2,"i",30),e.k0s(),e.j41(3,"span"),e.pXf(4,4),e.k0s()()),2&t){const n=e.XpG();e.Y8G("routerLink",e.eq3(1,Ln,n.ProprieteId))}}function Qn(t,a){if(1&t&&(e.j41(0,"div",26)(1,"a",27),e.nrm(2,"span"),e.j41(3,"span"),e.pXf(4,5),e.k0s()(),e.j41(5,"a",27),e.nrm(6,"span"),e.j41(7,"span"),e.pXf(8,6),e.k0s()()()),2&t){const n=e.XpG();e.Y8G("ngClass",e.eq3(3,z,n.currentUrl.match("/taxation/"))),e.R7$(),e.Y8G("routerLink",e.eq3(5,Dn,n.ProprieteId)),e.R7$(4),e.Y8G("routerLink",e.eq3(7,$n,n.ProprieteId))}}function Wn(t,a){if(1&t&&(e.j41(0,"a",24)(1,"span"),e.nrm(2,"i",31),e.k0s(),e.j41(3,"span"),e.pXf(4,7),e.k0s()()),2&t){const n=e.XpG();e.Y8G("routerLink",e.eq3(1,xn,n.ProprieteId))}}let Jn=(()=>{var t;class a extends X.dI{constructor(o,i,r,s,l,_){super(),this.store=o,this.route=i,this.router=r,this.dialog=s,this.appConfig=l,this.proprieteService=_,this.dataLoaded=!1,this.dataLoadingFailed=!1,this.environment=T.c,this.currentPropriete={},this.certificatEvaluationCount=0,this.avisTaxationCount=0,this.id=(0,y.SiN)(),this.isTextOverPrimaryLight=!1,this.authorizeFeature=!1,this.isProd=!1,this.EnumModule=S.AL,this.EnumFormulaireMenuTypeNom=m,this.hasRegistreContructionNeuve=!1,this.hasAutoDeclarationForm=!1,this.hasEnqueteVenteForm=!1,this.hasCollecteDonneesEco=!1,this.isLaval=!1,this.blockElectronicCommunication=!1,this.selectIsSearchHeaderVisible$=this.store.select(P.selectIsSearchHeaderVisible),this.config=this.appConfig.appConfig,this.id=(0,y.SiN)(),this.blockElectronicCommunication=this.appConfig.appConfig.paramList.blockElectronicCommunication,this.appConfig.appConfig.paramList.maProprieteBanner&&(this.imgBanner=`${this.appConfig.appConfig.awsFilePath}/${this.appConfig.appConfig.paramList.maProprieteBanner}`)}ngOnInit(){this.store.select(P.selectModulesActifs).pipe((0,L.Q)(this.destroy$)).subscribe(d=>{this.modulesActifs=d}),this.isLaval="laval"===this.appConfig.appConfig.appNom,this.isProd=T.c.production,this.windowWidth=window.innerWidth,this.ProprieteId=this.route.
1snapshot.paramMap.get("proprieteId"),this.store.select(A.t8(this.ProprieteId)).pipe((0,L.Q)(this.destroy$)).subscribe(d=>{this.currentPropriete=d||{}});const o=getComputedStyle(document.documentElement).getPropertyValue("--primary-color");this.isTextOverPrimaryLight="#ffffff"===(0,y.nt8)(o),this.currentUrl=this.router.routerState.snapshot.url,this.router.events.pipe((0,L.Q)(this.destroy$)).subscribe(d=>{d instanceof O.wF&&(this.currentUrl=this.router.routerState.snapshot.url,this.id=(0,y.SiN)(),this.windowWidth<960&&this.content.scrollToPoint(0,0,500))}),this.proprieteService.fetchUserProprieteForms(this.ProprieteId).pipe((0,L.Q)(this.destroy$)).subscribe({next:d=>{for(const E of d)switch(E.formTypeId){case u.Fj.REGISTRE_CONSTRUCTION_RESIDENTIEL:case u.Fj.REGISTRE_CONSTRUCTION_NON_RESIDENTIEL:this.hasRegistreContructionNeuve=!0;break;case u.Fj.RESIDENTIEL_CONDO:case u.Fj.RESIDENTIEL_STANDARD:this.hasAutoDeclarationForm=!0;break;case u.Fj.ENQUETE_VENTE:this.hasEnqueteVenteForm=!0;break;case u.Fj.REVENUS_DEPENSES:case u.Fj.ESPACES_LOCATIFS:this.hasCollecteDonneesEco=!0}}});const i="VQ"===T.c.clientName||"quebec"===this.appConfig.appConfig.appNom,r=T.c.envName.startsWith("simulation"),l="sherbrooke"===this.appConfig.appConfig.appNom;this.menuVisibility={DeclarationTravaux:!!this.appConfig.appConfig.paramList.allowDeclarationTravaux,DemandeRevision:!i&&!T.c.production&&!r||r&&l||"modelliumville"===this.appConfig.appConfig.appNom,MarcheVoisinage:!!this.appConfig.appConfig.paramList[u.fW.AllowMarcheVoisinage],AvisEvaluation:l||"rouyn-noranda"===this.appConfig.appConfig.appNom}}onContentClick(){this.store.dispatch(P.Actions.setIsSearchHeaderVisible({payload:!1}))}openCodeProprieteDialog(){this.addProprieteDialogRef=this.dialog.open(Z.V,{hasBackdrop:!1,width:"600px",data:{}}),this.addProprieteDialogRef.afterClosed().pipe((0,L.Q)(this.destroy$)).subscribe(o=>{o&&o.id&&this.router.navigate(["propriete","list"])})}openMutationDialog(){this.removeProprieteDialogRef=this.dialog.open(ee,{data:{ProprieteId:this.ProprieteId,ProprieteAdr:this.currentPropriete.Adr_AdresseFormatte},panelClass:"delete-confirm",width:"600px"}),this.removeProprieteDialogRef.afterClosed().pipe((0,L.Q)(this.destroy$)).subscribe(o=>{o&&this.router.navigate(["propriete","list"])})}ionViewWillEnter(){this.router.events.pipe((0,L.Q)(this.destroy$)).subscribe(o=>{o instanceof O.wF&&(this.currentUrl=this.router.routerState.snapshot.url,this.id=(0,y.SiN)())})}ionViewDidLeave(){super.ngOnDestroy()}redirectFormulaires(){this.router.navigate(["propriete",this.ProprieteId,"evaluation"])}redirectHistorique(){this.router.navigate(["propriete",this.ProprieteId,"evaluation",this.ProprieteId,m.HistoriqueFormulaire.path])}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(f.il),e.rXU(O.nX),e.rXU(O.Ix),e.rXU(D.bZ),e.rXU(F.o),e.rXU(G.K))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-ma-propriete"]],viewQuery:function(o,i){if(1&o&&e.GBs(In,5),2&o){let r;e.mGM(r=e.lsd())&&(i.content=r.first)}},features:[e.Vt3],decls:29,vars:22,consts:()=>{let n,o,i,r,s,l,_;return n="Retour \xE0 mes propri\xE9t\xE9s",o="Retirer ma propri\xE9t\xE9",i="\xC9valuation",r="Taxation",s="Comptes de taxes",l="Relev\xE9s de compte",_="Modes de communication",[["content",""],n,o,i,r,s,l,_,[1,"hide-desktop","mobile-header",3,"headerTitle","returnButtonType","menuId"],["scrollEvents","true",3,"click","id","ngClass"],[1,"main-page-container"],[1,"requete-title"],[1,"standard-page-content"],[1,"standard-page-content","formulaire-page","space-bottom"],[1,"propriete-flex"],[1,"propriete-tabs",3,"ngClass"],["routerLinkActive","active","mat-ripple","",1,"propriete-tabs-header",3,"routerLink"],[1,"icon-left-arrow"],["class","side-menu-icon-tab","routerLinkActive","active","mat-ripple","",3,"routerLink",4,"ngIf"],["class","side-menu-icon-subtab-group",3,"ngClass",4,"ngIf"],["mat-ripple","",1,"side-menu-icon-tab","border-top",3,"click"],[1,"icon-minus"],[1,"propriete-content"],[3,"showProprieteFooter"],["routerLinkActive","active","mat-ripple","",1,"side-menu-icon-tab",3,"routerLink"],[1,"icon-bar-chart-2"],[1,"side-menu-icon-subtab-group",3,"ngClass"],["routerLinkActive","active","mat-ripple","",1,"side-menu-icon-subtab",3,"routerLink"],["class","side-menu-icon-subtab","routerLinkActive","active","mat-ripple","",3,"routerLink",4,"ngIf"],[1,"white-space-preline"],[1,"icon-dollar-sign"],[1,"icon-message-square"]]},template:function(o,i){if(1&o){const r=e.RV6();e.nrm(0,"vplus-mobile-header",8),e.j41(1,"ion-content",9,0),e.nI1(3,"async"),e.bIt("click",function(){return e.eBV(r),e.Njj(i.onContentClick())}
1),e.j41(4,"div",10)(5,"div",11)(6,"h3",12),e.EFF(7),e.k0s()(),e.j41(8,"div",13)(9,"div",14)(10,"div",15)(11,"a",16),e.nrm(12,"i",17),e.j41(13,"span"),e.pXf(14,1),e.k0s()(),e.DNE(15,Fn,5,3,"a",18)(16,kn,5,8,"div",19)(17,Bn,11,13,"div",19)(18,qn,5,3,"a",18)(19,Qn,9,9,"div",19)(20,Wn,5,3,"a",18),e.j41(21,"a",20),e.bIt("click",function(){return e.eBV(r),e.Njj(i.openMutationDialog())}),e.j41(22,"span"),e.nrm(23,"i",21),e.k0s(),e.j41(24,"span"),e.pXf(25,2),e.k0s()()(),e.j41(26,"div",22),e.nrm(27,"router-outlet"),e.k0s()()(),e.nrm(28,"app-copyright-footer",23),e.k0s()()}2&o&&(e.Y8G("headerTitle","")("returnButtonType","back-button")("menuId",i.id),e.R7$(),e.Y8G("id",i.id)("ngClass",e.eq3(17,Sn,e.bMT(3,15,i.selectIsSearchHeaderVisible$))),e.R7$(6),e.SpI(" ",i.currentPropriete.Adr_AdresseFormatte?i.currentPropriete.Adr_AdresseFormatte:"Ma propri\xe9t\xe9"," "),e.R7$(3),e.Y8G("ngClass",e.eq3(19,vn,i.isTextOverPrimaryLight)),e.R7$(),e.Y8G("routerLink",e.lJ4(21,An)),e.R7$(4),e.Y8G("ngIf",i.modulesActifs.includes(i.EnumModule.Evaluation)),e.R7$(),e.Y8G("ngIf",i.modulesActifs.includes(i.EnumModule.Taxation)&&(i.currentUrl.match("/evaluation/")||i.windowWidth<960)),e.R7$(),e.Y8G("ngIf",i.currentUrl.match("/evaluation/")||i.windowWidth<960),e.R7$(),e.Y8G("ngIf",i.modulesActifs.includes(i.EnumModule.Taxation)),e.R7$(),e.Y8G("ngIf",i.modulesActifs.includes(i.EnumModule.Taxation)&&(i.currentUrl.match("/taxation/")||i.windowWidth<960)),e.R7$(),e.Y8G("ngIf",!i.blockElectronicCommunication&&(i.modulesActifs.includes(i.EnumModule.Taxation)||i.modulesActifs.includes(i.EnumModule.Evaluation))),e.R7$(8),e.Y8G("showProprieteFooter",!0))},dependencies:[O.n3,O.Wk,O.wQ,Y.r6,C.YU,C.bT,Mn.f,U.W9,U.oY,Nn.G,C.Jj],styles:["div.standard-page-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div.propriete-tabs.light-active-color[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:16px}.white-space-preline[_ngcontent-%COMP%]{white-space:pre-line}.standard-page-content.formulaire-page[_ngcontent-%COMP%]{max-width:100%;width:100%}.space-bottom[_ngcontent-%COMP%]{margin-bottom:100px}"]}),a})();var Zn=p(66560),Kn=p(82765);let eo=(()=>{var t;class a{constructor(o,i){this.store=o,this.backend=i,this.subs=new M.yU,this.currentPropriete={},this.compteTaxeElectroniqueSeulement=!1}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(r=>"propriete"===r);this.proprieteId=o[i+1],this.subs.add(this.store.select(A.nz).subscribe(r=>{this.proprieteList=r})),this.subs.add(this.store.select(A.t8(this.proprieteId)).subscribe(r=>{var s;this.currentPropriete=r,this.compteTaxeElectroniqueSeulement=null===(s=this.currentPropriete)||void 0===s?void 0:s.compteTaxeElectroniqueSeulement}))}recevoirPapier(){this.currentPropriete.compteTaxeElectroniqueSeulement=this.compteTaxeElectroniqueSeulement,this.backend.post("/propriete/update-receive-paper-compte-taxe",{compteTaxeElectroniqueSeulement:this.currentPropriete.compteTaxeElectroniqueSeulement,usrCltUeId:this.currentPropriete.usrCltUeId}).subscribe(o=>{this.proprieteList=this.proprieteList.map(i=>i.usrCltUeId===this.currentPropriete.usrCltUeId?{...i,compteTaxeElectroniqueSeulement:this.compteTaxeElectroniqueSeulement}:i),this.store.dispatch(new b.SetUserProprieteList(this.proprieteList)),this.store.dispatch(new Zn.ShowSnackBar(o.message))})}ngOnDestroy(){this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(f.il),e.rXU(X.m3))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-mode-communication-content"]],decls:10,vars:3,consts:()=>{let n,o;return n="Je ne souhaite plus recevoir la version papier dans mes prochaines transmissions",o="Mettre \xE0 jour",[n,o,[1,""],[1,"margin-bottom-2"],[3,"ngModelChange","disabled","ngModel"],[1,"flex-end","margin-top-2"],["mat-flat-button","","color","primary",1,"custom-button-standard",3,"click","disabled"],[1,"icon-refresh-cw"]]},template:function(o,i){1&o&&(e.j41(0,"div",2)(1,"h1",3),e.EFF(2,"Modes de communication"),e.k0s(),e.j41(3,"mat-checkbox",4),e.mxI("ngModelChange",function(s){return e.DH7(i.compteTaxeElectroniqueSeulement,s)||(i.compteTaxeElectroniqueSeulement=s),s}),e.pXf(4,0),e.k0s(),e.j41(5,"div",5)(6,"button",6),e.bIt("click",function(){return i.recevoirPapier()}),e.nrm(7,"i",7),e.j41(8,"span"),e.pXf(9,1),e.k0s()()()()),2&o&&(e.R7$(3),e.Y8G("disabled",1==i.currentPropriete.IsMutation),e.R50("ngModel",i.compteTaxeElectroniqueSeulement),e.R7$(3),e.Y8G("disabled",1==i.currentPropriete.IsMutation))},dependencies:[Kn.So,N.$z,v.BC,v.vS],encapsulation:2}),a})();var to=p(78718);function no(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",2),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}
1function oo(t,a){if(1&t&&(e.j41(0,"div")(1,"h1",3),e.EFF(2,"R\xf4le d'\xe9valuation"),e.k0s(),e.nrm(3,"vplus-role",4),e.k0s()),2&t){const n=e.XpG();e.R7$(3),e.Y8G("rapport",n.rapport)}}let io=(()=>{var t;class a{constructor(o,i){this.store=o,this.proprieteService=i,this.dataLoaded=!1,this.dataLoadingFailed=!1,this.subs=new M.yU,this.currentPropriete={};const r=location.href.split("/"),s=r.findIndex(l=>"propriete"===l);this.proprieteId=r[s+1]}ngOnInit(){this.subs.add(this.store.select(A.t8(this.proprieteId)).subscribe(o=>{this.currentPropriete=o||{},this.loadRoleEvaluation()}))}loadRoleEvaluation(){this.subs.add(this.proprieteService.getRoleEvaluation(this.currentPropriete.ueId).subscribe(o=>{this.rapport=o,this.dataLoaded=!0},()=>this.dataLoadingFailed=!0))}ngOnDestroy(){this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(f.il),e.rXU(G.K))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-app-propriete-role-content"]],decls:2,vars:2,consts:[[3,"loadingFailed",4,"ngIf"],[4,"ngIf"],[3,"loadingFailed"],[1,"margin-bottom-2"],[1,"role-container",3,"rapport"]],template:function(o,i){1&o&&e.DNE(0,no,1,1,"vplus-loading-spinner",0)(1,oo,4,1,"div",1),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded))},dependencies:[C.bT,I.N,to.a],encapsulation:2}),a})();var ao=p(9183);function ro(t,a){if(1&t&&e.nrm(0,"vplus-loading-spinner",3),2&t){const n=e.XpG();e.Y8G("loadingFailed",n.dataLoadingFailed)}}function so(t,a){1&t&&(e.j41(0,"h1",7),e.EFF(1,"Relev\xe9s de compte"),e.k0s())}function _o(t,a){if(1&t&&(e.j41(0,"div"),e.DNE(1,so,2,0,"h1",4),e.j41(2,"div",5)(3,"div")(4,"label",6),e.EFF(5),e.k0s()()()()),2&t){const n=e.XpG();e.R7$(),e.Y8G("ngIf",!n.isInVueEnsemble),e.R7$(4),e.JRh(n.dataErrorMessage)}}function lo(t,a){1&t&&(e.j41(0,"h1",7),e.EFF(1,"Relev\xe9s de compte"),e.k0s())}function co(t,a){1&t&&e.nrm(0,"mat-progress-spinner",18),2&t&&e.Y8G("diameter",25)}function po(t,a){if(1&t&&(e.j41(0,"div",9)(1,"label"),e.EFF(2),e.nI1(3,"date"),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s()()),2&t){const n=a.$implicit;e.R7$(2),e.Lme("",n.numeroFacture," - ",e.i5U(3,3,n.dateEcheance,"longDate"),""),e.R7$(3),e.JRh(n.montantEcheance)}}function uo(t,a){if(1&t&&(e.j41(0,"div",7)(1,"h5"),e.EFF(2,"R\xe9capitulatif des soldes par factures"),e.k0s(),e.DNE(3,po,6,6,"div",19),e.k0s()),2&t){const n=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",n.taxOverview.prochainsVersement)}}function Eo(t,a){if(1&t){const n=e.RV6();e.j41(0,"button",20),e.bIt("click",function(){e.eBV(n);const i=e.XpG(2);return e.Njj(i.paiementEnLigne())}),e.nrm(1,"i",21),e.EFF(2,"PAYER EN LIGNE"),e.k0s()}}function mo(t,a){if(1&t&&(e.j41(0,"a",22),e.nrm(1,"i",21),e.EFF(2,"INFORMATIONS SUR LES MODES DE PAIEMENT"),e.k0s()),2&t){const n=e.XpG(2);e.Y8G("href",n.taxOverview.howToPayLink,e.B4B)}}function Po(t,a){if(1&t){const n=e.RV6();e.j41(0,"div",8),e.DNE(1,lo,2,0,"h1",4),e.j41(2,"div",5)(3,"div",9)(4,"label",6),e.EFF(5),e.nI1(6,"date"),e.k0s(),e.j41(7,"span"),e.EFF(8),e.k0s()(),e.j41(9,"div",10)(10,"a",11),e.bIt("click",function(){e.eBV(n);const i=e.XpG();return e.Njj(i.download())}),e.nrm(11,"i",12),e.EFF(12),e.nI1(13,"date"),e.k0s(),e.DNE(14,co,1,1,"mat-progress-spinner",13),e.k0s(),e.DNE(15,uo,4,1,"div",4),e.k0s(),e.j41(16,"div",10)(17,"div",14),e.DNE(18,Eo,3,0,"button",15),e.k0s(),e.j41(19,"div",16),e.DNE(20,mo,3,1,"a",17),e.k0s()()()}if(2&t){const n=e.XpG();e.R7$(),e.Y8G("ngIf",!n.isInVueEnsemble),e.R7$(4),e.SpI("Montant \xe9chu au ",e.i5U(6,8,n.taxOverview.dateEcheance,"longDate"),""),e.R7$(3),e.JRh(n.taxOverview.solde),e.R7$(4),e.SpI("T\xe9l\xe9charger le relev\xe9 de compte - ",e.i5U(13,11,n.taxOverview.dateReleve,"longDate")," "),e.R7$(2),e.Y8G("ngIf",n.isDownloadReleveInProgress),e.R7$(),e.Y8G("ngIf",n.taxOverview.prochainsVersement.length>0),e.R7$(3),e.Y8G("ngIf",n.taxOverview.howToPayLink),e.R7$(2),e.Y8G("ngIf",n.taxOverview.howToPayLink)}}let Co=(()=>{var t;class a{constructor(o,i,r,s){this.store=o,this.taxationService=i,this.dialog=r,this.appConfig=s,this.isInVueEnsemble=!1,this.dataLoaded=!1,this.dataExists=!1,this.dataLoadingFailed=!1,this.subs=new M.yU,this.isDownloadReleveInProgress=!1,this.taxOverview={solde:0,dateEcheance:new Date,refNum:null,dateReleve:new Date,prochainsVersement:[],howToPayLink:null},this.taxOverview.refNum=this.appConfig.appConfig.paramList.taxationReferenceBancaire?this.appConfig.appConfig.paramList.taxationReferenceBancaire:null,this.taxOverview.howToPayLink=this.appConfig.appConfig.paramList.taxationLienPaiment?this.appConfig.appConfig.paramList.taxationLienPaiment:null}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(r=>"propriete"===r);this.proprieteId=o[i+1],this.subs.add(this.taxationService.getCompteReleveSummary(this.proprieteId).subscribe(r=>{if(!r||r.errorMessage)this.dataErrorMessage=r?r.errorMessage:"Vous n'avez aucun relev\xe9 de compte disponible pour votre propri\xe9t\xe9.",this.dataExists=!1;else{if(r.echeances&&r.echeances.length>0){for(const s of r.echeances)s.dateEcheance=new Date(s.dateEcheance),s.dateEcheance.setMinutes(s.dateEcheance.getMinutes()+s.dateEcheance.getTimezoneOffset());this.taxOverview.prochainsVersement=r.echeances}this.taxOverview.solde=r.montantEchu,r.dateMontantEchu&&(this.taxOverview.dateEcheance=new Date(r.dateMontantEchu),this.taxOverview.dateEcheance.setMinutes(this.taxOverview.dateEcheance.getMinutes()+this.taxOverview.dateEcheance.getTimezoneOffset())),r.dateSimulation&&(this.taxOverview.dateReleve=new Date(r.dateSimulation),this.taxOverview.dateReleve.setMinutes(this.taxOverview.dateReleve.getMinutes()+this.taxOverview.dateReleve.getTimezoneOffset())),this.dataExists=!0}this.dataLoaded=!0},()=>{this.dataLoadingFailed=!0}))}copyToClipboard(o){o.textContent&&(navigator.clipboard.writeText(o.textContent),this.store.dispatch(new P.Actions.ShowSnackBar("Contenu copi\xE9 !")))}
1download(){var o=this;return(0,J.A)(function*(){o.isDownloadReleveInProgress||(o.isDownloadReleveInProgress=!0,o.reportSub&&o.reportSub.unsubscribe(),o.reportSub=o.taxationService.getCompteReleveReportPdf(o.proprieteId).subscribe(i=>(o.isDownloadReleveInProgress=!1,(0,H.saveAs)(i,"relev\xe9 de compte")),()=>{o.isDownloadReleveInProgress=!1,o.store.dispatch(new P.Actions.ShowSnackBar("\xC9chec lors de la g\xE9n\xE9ration du rapport. Veuillez r\xE9essayer.",P.EnumSnackBarType.Echec))}))})()}paiementEnLigne(){this.dialog.open(K,{data:{},width:u.Uq.Medium})}ngOnDestroy(){this.subs.unsubscribe(),this.reportSub&&this.reportSub.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(f.il),e.rXU(te.w),e.rXU(D.bZ),e.rXU(F.o))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-releve-compte-content"]],inputs:{isInVueEnsemble:"isInVueEnsemble"},decls:3,vars:3,consts:[[3,"loadingFailed",4,"ngIf"],[4,"ngIf"],["class","",4,"ngIf"],[3,"loadingFailed"],["class","margin-bottom-2",4,"ngIf"],[1,"propriete-releve-container"],[1,"strong"],[1,"margin-bottom-2"],[1,""],[1,"propriete-releve-montant"],[2,"display","flex"],["mat-ripple","","target","_blank",1,"propriete-releve-button","margin-bottom-2",3,"click"],[1,"icon-download","margin-right-12"],["class","loading-spinner","color","primary","mode","indeterminate","style","margin-left: 20px;",3,"diameter",4,"ngIf"],[1,"payer-div"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],[1,"information-div"],["target","_blank","mat-raised-button","","color","primary",3,"href",4,"ngIf"],["color","primary","mode","indeterminate",1,"loading-spinner",2,"margin-left","20px",3,"diameter"],["class","propriete-releve-montant",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"click"],[1,"icon-external-link"],["target","_blank","mat-raised-button","","color","primary",3,"href"]],template:function(o,i){1&o&&e.DNE(0,ro,1,1,"vplus-loading-spinner",0)(1,_o,6,2,"div",1)(2,Po,21,14,"div",2),2&o&&(e.Y8G("ngIf",!i.dataLoaded),e.R7$(),e.Y8G("ngIf",i.dataLoaded&&!i.dataExists),e.R7$(),e.Y8G("ngIf",i.dataLoaded&&i.dataExists))},dependencies:[N.It,N.$z,ao.LG,Y.r6,C.Sq,C.bT,I.N,C.vh],styles:[".payer-div[_ngcontent-%COMP%]{flex:26%;text-align:end;margin-right:10px}.information-div[_ngcontent-%COMP%]{flex:auto;text-align:start}"]}),a})();var To=p(10916);let fo=(()=>{var t;class a{constructor(o){this.appMetaTags=o,this.ventesQuartierSrc=""}ionViewWillEnter(){this.appMetaTags.updateMetaTags("Ventes de mon quartier")}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(h.W))},t.\u0275cmp=e.VBU({type:t,selectors:[["app-ventes-quartier-content"]],decls:5,vars:1,consts:()=>{let n;return n="Ventes de mon quartier",[n,[1,"newsfeed-header"],[3,"src"]]},template:function(o,i){1&o&&(e.j41(0,"div",1)(1,"h2"),e.pXf(2,0),e.k0s(),e.nrm(3,"hr"),e.k0s(),e.nrm(4,"img",2)),2&o&&(e.R7$(4),e.Y8G("src",i.ventesQuartierSrc,e.B4B))},encapsulation:2}),a})();var Oo=p(27468),go=p(96697);const ne=[{path:"",component:Jn,children:[{path:"",redirectTo:"vue-ensemble",pathMatch:"full"},{path:"vue-ensemble",component:(()=>{var t;class a{constructor(o,i,r){this.proprieteService=o,this.router=i,this.store=r,this.subs=new M.yU}ngOnInit(){const o=location.href.split("/"),i=o.findIndex(s=>"propriete"===s),r=o[i+1];this.subs.add((0,Oo.p)([this.store.select(P.selectModulesActifs).pipe((0,go.s)(1)),this.proprieteService.fetchUserProprieteForms(r)]).subscribe({next:([s,l])=>{if(s.includes(S.AL.Taxation))this.router.navigate(["propriete",r,"taxation","compte"]);else if(localStorage.getItem("token"))if(l.length>0){let _;switch(l[0].formTypeId){case u.Fj.DECLARATION_TRAVAUX:_="DeclarationTravaux";break;case u.Fj.RESIDENTIEL_STANDARD:case u.Fj.RESIDENTIEL_CONDO:_="AutoDeclaration";break;case u.Fj.ENQUETE_VENTE:_="Enquetevente";break;case u.Fj.DEMANDE_REVISION:_="DemandeRevision";break;case u.Fj.REVENUS_DEPENSES:case u.Fj.ESPACES_LOCATIFS:_="CollecteDonneesEconomique";break;case u.Fj.REGISTRE_CONSTRUCTION_RESIDENTIEL:case u.Fj.REGISTRE_CONSTRUCTION_NON_RESIDENTIEL:_="RegistreDeContructionNeuve";break;default:_="HistoriqueFormulaire"}this.router.navigate(["propriete",r,"evaluation",m[_].path])}else this.router.navigate(["propriete",r,"evaluation",m.HistoriqueFormulaire.path]);else this.router.navigate(["propriete","accueil"])}}))}ngOnDestroy(){this.subs.unsubscribe()}}return(t=a).\u0275fac=function(o){return new(o||t)(e.rXU(G.K),e.rXU(O.Ix),e.rXU(f.il))},t.\u0275cmp=e.VBU({type:t,selectors:[["vplus-vue-ensemble-propriete"]],decls:1,vars:1,consts:[[3,"showBackButtonOnError"]],template:function(o,i){1&o&&e.nrm(0,"vplus-loading-spinner",0),2&o&&e.Y8G("showBackButtonOnError",!1)},dependencies:[I.N],encapsulation:2}),a})()},{path:"evaluation",canActivate:[V.Z],children:[{path:"",redirectTo:m.DeclarationTravaux.path,pathMatch:"full"},{path:m.DeclarationTravaux.path,component:$},{path:m.DemandeRevision.path,component:$},{path:m.RegistreDeContructionNeuve.path,component:$},{path:m.AutoDeclaration.path,component:$},{path:m.Enquetevente.path,component:$},{path:m.CollecteDonneesEconomique.path,component:$},{path:m.HistoriqueFormulaire.path,component:Pn,canActivate:[V.Z]},{path:m.DonneesPubliqueRole.path,component:io},{path:m.CertificatEvaluation.path,component:$e,canActivate:[V.Z]},{path:m.AvisEvaluation.path,component:Pe,canActivate:[V.Z]},{path:m.ExplorerMarcheVoisinage.path,component:Lt},{path:"evolution-valeur",component:Pt},{path:"",redirectTo:"avis-modification",pathMatch:"full"}]},{path:"evaluation-avis",pathMatch:"full",redirectTo:"evaluation/"+m.CertificatEvaluation.path},{path:"taxation",children:[{path:"",redirectTo:"compte",pathMatch:"full"},{path:"releve",component:Co},{path:"compte",component:ut}]},{path:"correspondances",component:mt},{path:"modes-communication",component:eo},{path:"historique-ventes",component:hn},{path:"ventes-quartier",component:fo}
1]}];let Ro=(()=>{var t;class a{}return(t=a).\u0275fac=function(o){return new(o||t)},t.\u0275mod=e.$C({type:t}),t.\u0275inj=e.G2t({imports:[O.iI.forChild(ne),To.G]}),a})()}}]);
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.