PageSourceSearch

https://st-alphonse.qc.ca/5338.2531244c4f5d728a.js

js st-alphonse.qc.ca collected 2026-10-02 20:14:22 UTC 31,717 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpc=self.webpackChunkpc||[]).push([[5338],{55288:(tt,F,e)=>{e.d(F,{r:()=>S});var i=e(49823),b=e(51188),t=e(54438),I=e(81018),p=e(9310),l=e(60177),P=e(81405),j=e(88974),C=e(87748),E=e(68268);const O=n=>({"filter-searche-global-active":n});function h(n,$){1&n&&t.nrm(0,"app-copyright-footer")}function A(n,$){if(1&n&&(t.j41(0,"div",3),t.nrm(1,"vplus-accueil-affectation"),t.DNE(2,h,1,0,"app-copyright-footer"),t.k0s()),2&n){const L=t.XpG();t.R7$(2),t.vxM(2,L.isMobile?-1:2)}}let S=(()=>{var n;class ${constructor(){this.showContent=!1,this.fromOrganisation=!1,this.platform=(0,t.WQX)(I.OD),this.store=(0,t.WQX)(p.il),this.route=(0,t.WQX)(b.nX),this.selectIsSearchHeaderVisible$=this.store.select(i.selectIsSearchHeaderVisible),this.isMobile=this.platform.is("mobileweb")||this.platform.is("ios")||this.platform.is("android")}ionViewWillEnter(){this.fromOrganisation=this.route._routerState.snapshot.url.split("/").includes("organisation"),this.showContent=!0}ionViewDidLeave(){this.showContent=!1}onContentClick(){this.store.dispatch(i.Actions.setIsSearchHeaderVisible({payload:!1}))}}return(n=$).\u0275fac=function(B){return new(B||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-accueil-affectation-container"]],decls:4,vars:11,consts:[[1,"hide-desktop","mobile-header",3,"defaultHref","headerTitle","returnButtonType","forceDefault","menuId"],["id","mesRequetes","scrollEvents","true",3,"click","ngClass"],["class","main-page-container standard-page-content",4,"ngIf"],[1,"main-page-container","standard-page-content"]],template:function(B,r){1&B&&(t.nrm(0,"vplus-mobile-header",0),t.j41(1,"ion-content",1),t.nI1(2,"async"),t.bIt("click",function(){return r.onContentClick()}),t.DNE(3,A,3,1,"div",2),t.k0s()),2&B&&(t.Y8G("defaultHref",r.fromOrganisation?"/organisation/admin":"/utilisateur/profil")("headerTitle","")("returnButtonType","back-button")("forceDefault",!0)("menuId","mesRequetes"),t.R7$(),t.Y8G("ngClass",t.eq3(9,O,t.bMT(2,7,r.selectIsSearchHeaderVisible$))),t.R7$(2),t.Y8G("ngIf",r.showContent))},dependencies:[l.YU,l.bT,P.f,j.W9,C.G,E.O,l.Jj],encapsulation:2}),$})()},28416:(tt,F,e)=>{e.d(F,{$:()=>U});var i=e(12424),b=e(77339),t=e(54438),I=e(92995),p=e(34006),l=e(373),P=e(81018),j=e(51188),C=e(9310),E=e(96697),O=e(89079),h=e(88834),A=e(73910);const S=(_,N)=>N.wiId;function n(_,N){if(1&_&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&_){const g=t.XpG().$implicit;t.R7$(),t.SpI(" ",g.sousCategorieNom," ")}}function $(_,N){if(1&_&&(t.j41(0,"div",9)(1,"span",13),t.EFF(2),t.k0s(),t.EFF(3),t.k0s()),2&_){const g=t.XpG(),u=g.$implicit,T=g.$index,D=t.XpG(2);t.R7$(),t.AVh("neutral-color",0==u.nbrMsgNonLuUsrClt),t.R7$(),t.SpI(" ",u.nbrMsgNonLuUsrClt," "),t.R7$(),t.SpI(" ",D.messagesNonLus[T]," ")}}function L(_,N){if(1&_){const g=t.RV6();t.j41(0,"button",11),t.bIt("click",function(){t.eBV(g);const T=t.XpG().$implicit,D=t.XpG(2);return t.Njj(D.openDeleteDialog(T))}),t.nrm(1,"i",14),t.j41(2,"span"),t.pXf(3,0),t.k0s()()}}function B(_,N){if(1&_){const g=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"h3"),t.EFF(4),t.k0s()(),t.j41(5,"div",5),t.nrm(6,"span",6),t.j41(7,"p"),t.EFF(8),t.nI1(9,"vplusMoment"),t.k0s()(),t.j41(10,"div",7)(11,"span"),t.EFF(12),t.k0s(),t.DNE(13,n,2,1,"span"),t.k0s()(),t.j41(14,"div",8),t.DNE(15,$,4,4,"div",9)(16,L,4,0,"button",10),t.j41(17,"button",11),t.bIt("click",function(){const T=t.eBV(g).$implicit,D=t.XpG(2);return t.Njj(D.goToAffectation(T.wiId))}),t.nrm(18,"i",12),t.j41(19,"span"),t.EFF(20),t.k0s()()()()}if(2&_){const g=N.$implicit,u=t.XpG(2);t.R7$(4),t.Lme("",g.no," - ",g.titre,""),t.R7$(2),t.xc7("background-color",g.statutCouleur),t.R7$(2),t.Lme(" ",g.statutNom," - ",t.bMT(9,13,g.dateModificationStatut),""),t.R7$(4),t.SpI(" ",g.categorieNom," "),t.R7$(),t.vxM(13,g.sousCategorieNom?13:-1),t.R7$(),t.AVh("justify-content-right",u.isDraftList),t.R7$(),t.vxM(15,u.isDraftList?-1:15),t.R7$(),t.vxM(16,u.isDraftList?16:-1),t.R7$(4),t.JRh(u.continuerBtnText)}}function r(_,N){if(1&_&&(t.j41(0,"div")(1,"div",1)(2,"h2"),t.EFF(3),t.k0s(),t.nrm(4,"hr"),t.k0s(),t.Z7z(5,B,21,15,"div",2,S),t.k0s()),2&_){const g=t.XpG();t.R7$(3),t.SpI(" ",g.newsfeedTitle," "),t.R7$(2),t.Dyx(g.affectationsList)}}let U=(()=>{var _;class N{constructor(){this.fromOrganisation=!1,this.onHasAffectations=new t.bkB,this.messagesNonLus=[],this.router=(0,t.WQX)(j.Ix),this.store=(0,t.WQX)(C.il),this.platform=(0,t.WQX)(P.OD),this.dialog=(0,t.WQX)(p.bZ),this.destroyRef=(0,t.WQX)(t.abz),this.actions$=(0,t.WQX)(b.En)}ngOnInit(){this.continuerBtnText=this.isDraftList?this.wiType===I.Op.Requete?"Poursuivre la requ\xEAte":"Poursuivre la demande":"Consulter",this.newsfeedTitle=this.isDraftList?this.wiType===I.Op.Requete?"Requ\xEAtes brouillons":"Demandes de permis brouillons":this.wiType===I.Op.Requete?"Requ\xEAtes en cours":"Demandes de permis en cours";for(const u of this.affectationsList)this.messagesNonLus.push(u.nbrMsgNonLuUsrClt>1?"Messages non lus":"Message non lu")}openDeleteDialog(u){const T=this.wiType===I.Op.Requete,D=(T?"Requ\xEAte n\xB0":"Demande de permis n\xB0")+" "+u.no;let z;const d=`<p class="smaller-font-90">${T?"\xCAtes-vous s\xFBr de vouloir supprimer cette requ\xEAte citoyenne en brouillon?":"\xCAtes-vous s\xFBr de vouloir supprimer cette demande de permis en brouillon?"}</p>\n      <strong class="warning-hint margin-bottom-1">\n        <i class="icon-alert-triangle"></i>
1\n        <span>${"Cette action est irr\xE9versible"}</span>\n      </strong>`;this.dialog.open(l.V,{data:{title:D,htmlContent:d,actionCustom:{boutonPrimaire:"Supprimer",boutonSecondaire:"Annuler"}},panelClass:"delete-confirm",width:I.Uq.Medium}).afterClosed().pipe((0,O.pQ)(this.destroyRef)).subscribe(et=>{et&&(this.store.dispatch(i.deleteWorkitem({payload:{wiId:u.wiId,wiType:this.wiType}})),this.actions$.pipe((0,b.gp)(i.deleteWorkitemSuccess),(0,E.s)(1)).subscribe(()=>{z=this.affectationsList.length-1,this.onHasAffectations.emit(!!z)}))})}goToAffectation(u){const T=this.fromOrganisation?{organisation:1}:{},D=this.affectationsList.find(z=>z.wiId===u);if(this.isDraftList)this.store.dispatch(i.setCurrentCategorie({payload:{categorieId:D.categorieId,sousCategorieId:D.sousCategorieId}})),this.store.dispatch(i.setCurrentWorkitem({payload:D})),this.router.navigate(["/",this.wiType===I.Op.Requete?"requete":"permis","poursuite",D.no],{queryParams:T});else if(this.platform.is("mobile")||this.platform.is("mobileweb")||this.platform.is("android")||this.platform.is("ios"))this.router.navigate(this.wiType===I.Op.Requete?["/utilisateur/requete",D.no]:["/utilisateur/permis",D.no],{queryParams:T});else{const G=this.wiType===I.Op.Requete?["requete",D.no]:["permis",D.no];this.router.navigate(this.fromOrganisation?["/organisation/admin",{outlets:{admin:G}}]:["/utilisateur/profil",{outlets:{profil:G}}],{queryParams:T})}}}return(_=N).\u0275fac=function(u){return new(u||_)},_.\u0275cmp=t.VBU({type:_,selectors:[["vplus-accueil-affectation-liste"]],inputs:{affectationsList:"affectationsList",isDraftList:"isDraftList",wiType:"wiType",fromOrganisation:"fromOrganisation",onDeleteAffectationFini:"onDeleteAffectationFini"},outputs:{onHasAffectations:"onHasAffectations"},decls:1,vars:1,consts:()=>{let g;return g="Supprimer",[g,[1,"newsfeed-header"],[1,"requete-post"],[1,"requete-post-top"],[1,"requete-post-title"],[1,"requete-post-date"],[1,"statut-cercle"],[1,"requete-categorie"],[1,"requete-post-bottom"],[1,"requete-post-messages"],["mat-button","",1,"icon-text-button"],["mat-button","",1,"icon-text-button",3,"click"],[1,"icon-file-text"],[1,"message-badge"],[1,"icon-poubelle"]]},template:function(u,T){1&u&&t.DNE(0,r,7,1,"div"),2&u&&t.vxM(0,(null==T.affectationsList?null:T.affectationsList.length)>0?0:-1)},dependencies:[h.$z,A.x],styles:[".stepper-disabled .mat-horizontal-stepper-header{pointer-events:none!important}.mobile-request-spacing[_ngcontent-%COMP%]{padding:18px 18px 0}@media (min-width: 960px){.mobile-request-spacing[_ngcontent-%COMP%]{padding:0}}  .sv-pageRoot>.sv_row>.sv_p_container>h4.sv_title-underline{margin-bottom:2rem;padding-bottom:1rem;padding-top:2rem;border-bottom:1px solid var(--divider-color);display:flex;align-items:center;font-size:1.3rem}@media (min-width: 600px){  .sv-pageRoot>.sv_row>.sv_p_container>h4.sv_title-underline{font-size:1.5rem}}@media (min-width: 1280px){  .sv-pageRoot>.sv_row>.sv_p_container>h4.sv_title-underline{font-size:1.6rem}}.save-draft-button[_ngcontent-%COMP%]{font-size:14px;margin-left:auto}@media (max-width: 768px){.save-draft-button[_ngcontent-%COMP%]{display:none!important}}.mobile-save-draft-button[_ngcontent-%COMP%]{font-size:14px;margin:auto;display:flex!important}@media (min-width: 769px){.mobile-save-draft-button[_ngcontent-%COMP%]{display:none!important}}.save-and-quit-container[_ngcontent-%COMP%]{padding-top:1vh}@media (min-width: 769px){.save-and-quit-container[_ngcontent-%COMP%]{display:none!important}}.showAllAffectations[_ngcontent-%COMP%]{margin-top:33px}.identification-title[_ngcontent-%COMP%]{font-size:1.4rem}@media (min-width: 600px){.identification-title[_ngcontent-%COMP%]{font-size:1.55rem}}"]}),N})()},68268:(tt,F,e)=>{e.d(F,{O:()=>et});var i=e(49823),b=e(48235),t=e(60549),I=e(35052),p=e(37084),l=e(18359),P=e(27468),j=e(84572),C=e(81265),E=e(92995),O=e(71322),h=e(98377),A=e(47746),S=e(25558),n=e(54438),$=e(51188),L=e(9310),B=e(34006),r=e(88834),U=e(60177),_=e(88974),N=e(64940),g=e(75824),u=e(28416);const T=v=>({showAllAffectations:v});function D(v,w){1&v&&n.nrm(0,"vplus-loading-spinner")}function z(v,w){if(1&v&&n.nrm(0,"vplus-intro-card",0),2&v){const m=n.XpG(2);n.Y8G("title",m.pageTitle)("imgSrc",m.introCardContent.imgSrc)("description",m.introCardContent.description)("buttonLabel",m.ajouterNewTitle)("buttonQueryParams",m.queryParams)("buttonLink",m.ajouterNewLink)}}function G(v,w){if(1&v&&(n.j41(0,"div",3)(1,"div",4)(2,"h1",5),n.EFF(3),n.k0s(),n.j41(4,"a",6),n.EFF(5),n.k0s()()()),2&v){const m=n.XpG(2);n.R7$(3),n.SpI(" ",m.pageTitle," "),n.R7$(),n.Y8G("routerLink",m.ajouterNewLink)("queryParams",m.queryParams),n.R7$(),n.Sp
1I(" ",m.ajouterNewTitle," ")}}function d(v,w){if(1&v&&(n.j41(0,"a",2),n.EFF(1),n.k0s()),2&v){const m=n.XpG(2);n.Y8G("ngClass",n.eq3(4,T,m.hasInactiveAffectations))("routerLink",m.listLink)("queryParams",m.queryParams),n.R7$(),n.SpI(" ",m.listLinkText," ")}}function k(v,w){if(1&v){const m=n.RV6();n.DNE(0,z,1,6,"vplus-intro-card",0)(1,G,6,4),n.j41(2,"vplus-accueil-affectation-liste",1),n.bIt("onHasAffectations",function(y){n.eBV(m);const V=n.XpG();return n.Njj(V.onHasAffectations(y))}),n.k0s(),n.j41(3,"vplus-accueil-affectation-liste",1),n.bIt("onHasAffectations",function(y){n.eBV(m);const V=n.XpG();return n.Njj(V.onHasAffectations(y))}),n.k0s(),n.DNE(4,d,2,6,"a",2)}if(2&v){const m=n.XpG();n.vxM(0,m.hasAffectations?1:0),n.R7$(2),n.Y8G("isDraftList",!0)("affectationsList",m.affectationsBrouillionCitoyenList)("wiType",m.wiType)("fromOrganisation",m.fromOrganisation),n.R7$(),n.Y8G("isDraftList",!1)("affectationsList",m.affectationsEnCoursList)("wiType",m.wiType)("fromOrganisation",m.fromOrganisation),n.R7$(),n.vxM(4,m.hasAffectations?4:-1)}}let et=(()=>{var v;class w{constructor(f,y,V,nt,X,K,H){this.route=f,this.store=y,this.dialog=V,this.requeteService=nt,this.appMetaTags=X,this.localisationService=K,this.appConfig=H,this.EnumTypeWiIds=E.Op,this.hasInactiveAffectations=!1,this.hasAffectations=!1,this.hasActiveAffectations=!1,this.dataLoaded=!1,this.subs=new l.yU,this.introCardContent={imgSrc:"assets/svg/requete-artwork.svg",description:"Soumettez une requ\xEAte en ligne en quelques \xE9tapes faciles en remplissant le questionnaire appropri\xE9"}}ngOnInit(){this.wiType=this.route.snapshot.url.find(f=>"requete"===f.path)?E.Op.Requete:E.Op.Permis,this.fromOrganisation=this.route._routerState.snapshot.url.split("/").includes("organisation"),this.appMetaTags.updateMetaTags(this.wiType===E.Op.Requete?"Requ\xEAtes":"Permis"),this.ajouterNewTitle=this.wiType===E.Op.Requete?"Nouvelle requ\xEAte":"Nouvelle demande de permis",this.ajouterNewLink=this.wiType===E.Op.Requete?"/requete":"/permis",this.introCardContent.description=this.wiType===E.Op.Requete?"Soumettez une requ\xEAte en ligne en quelques \xE9tapes faciles en remplissant le questionnaire appropri\xE9":"Soumettez une demande en ligne en quelques \xE9tapes faciles en remplissant le questionnaire appropri\xE9 \xE0 vos besoins de permis",this.introCardContent.imgSrc=this.wiType===E.Op.Requete?"assets/svg/requete-artwork.svg":"assets/svg/demande-permis-artwork.svg",this.listLink=this.ajouterNewLink+"/liste/",this.queryParams=this.fromOrganisation?{organisation:1}:{},this.listLinkText=this.wiType===E.Op.Requete?"Voir toutes les requ\xEAtes":"Voir toutes les demandes de permis",this.subs.add(this.store.select(i.selectCurrentUser).pipe((0,S.n)(f=>(0,P.p)([this.requeteService.fetchWorkItemListByReqId(this.fromOrganisation?O.jX.Organisation:O.jX.Citoyen,this.wiType,!0,!1)]))).subscribe(([f])=>{var y;this.store.dispatch(b.En.setWorkitemEnCoursList({payload:null==f?void 0:f.affectations})),this.hasInactiveAffectations=null==f?void 0:f.hasInactiveWorkitem,this.hasActiveAffectations=(null==f||null===(y=f.affectations)||void 0===y?void 0:y.length)>0,this.hasAffectations=this.hasInactiveAffectations||this.hasActiveAffectations,this.pageTitle=this.getPageTitle(),this.dataLoaded=!0})),this.subs.add((0,j.z)([this.store.select(b.Iv),this.store.select(b.PD),this.store.select(t.ci)]).pipe().subscribe(([f,y,V])=>{this.categoriesList=V;const nt=[O.wx.Brouillon,O.wx.BrouillonCitoyen];f.forEach(X=>{var K,H;const it=y.find(Y=>Y.statutId===X.statutId).statusLocalisations;X.statutNom=(null===(K=it.find(Y=>Y.lclzTag===this.localisationService.getCurrentLocalisation()))||void 0===K?void 0:K.statusNom)||(null===(H=it.find(Y=>Y.lclzTag===this.appConfig.appConfig.localisationDefaut))||void 0===H?void 0:H.statusNom)}),this.affectationsEnCoursList=f.filter(X=>!nt.includes(y.find(K=>K.statutId===X.statutId).statCatId)),this.affectationsBrouillionCitoyenList=f.filter(X=>y.find(K=>K.statutId===X.statutId).statCatId===O.wx.BrouillonCitoyen)}))}contester(f){this.dialog.open(C.Q,{data:{requete:f,requeteList:this.affectationsEnCoursList},width:E.Uq.Medium})}onHasAffectations(f){this.hasAffectations=f}getPageTitle(){return this.wiType===E.Op.Requete?this.hasAffectations?"Cr\xE9er une nouvelle requ\xEAte":"Cr\xE9ez votre premi\xE8re requ\xEAte!":this.hasAffectations?"Cr\xE9er une nouvelle demande de permis":"Cr\xE9ez votre premi\xE8re demande de permis!"}ngOnDestroy(){this.subs.unsubscribe()}}return(v=w).\u0275fac=function(f){return new(f||v)(n.rXU($.nX),n.rXU(L.il),n.rXU(B.bZ),n.rXU(A.t),n.rXU(p.W),n.rXU(h.A),n.rXU(I.o))},v.\u0275cmp=n.VBU({type:v,selectors:[["vplus-accueil-affectation"]],decls:2,vars:1,consts:[[3,"title","imgSrc","description","buttonLabel","buttonQueryParams","buttonLink"],[3,"onHasAffectations","isDraftList","affectationsList","wiType","fromOrganisation"],["mat-stroked-button","","expand","block",1,"newsfeed-button","spacing-top",3,"ngClass","routerLink","queryParams"],[1,"requete-intro-card"],[1,"max-720","margin-auto"],[1,"module-title"],["mat-stroked-button","","color","primary",1,"newsfeed-button",3,"routerLink","queryParams"]],template:function(f,y){1&f&&n.DNE(0,D,1,0,"vplus-loading-spinner")(1,k,5,10),2&f&&n.vxM(0,y.dataLoaded?1:0)},dependencies:[r.It,U.YU,_.oY,N.m,g.N,$.Wk,u.$],styles:[".stepper-disabled .mat-horizontal-stepper-header{pointer-events:none!important}.mobile-request-spacing[_ngcontent-%COMP%]{padding:18px 18px 0}@media (min-width: 960px){.mobile-request-spacing[_ngcontent-%COMP%]{padding:0}}  .sv-pageRoot>.sv_row>.sv_p_container>h4.sv_title-underline{margin-bottom:2rem;padding-bottom:1rem;padding-top:2rem;
1border-bottom:1px solid var(--divider-color);display:flex;align-items:center;font-size:1.3rem}@media (min-width: 600px){  .sv-pageRoot>.sv_row>.sv_p_container>h4.sv_title-underline{font-size:1.5rem}}@media (min-width: 1280px){  .sv-pageRoot>.sv_row>.sv_p_container>h4.sv_title-underline{font-size:1.6rem}}.save-draft-button[_ngcontent-%COMP%]{font-size:14px;margin-left:auto}@media (max-width: 768px){.save-draft-button[_ngcontent-%COMP%]{display:none!important}}.mobile-save-draft-button[_ngcontent-%COMP%]{font-size:14px;margin:auto;display:flex!important}@media (min-width: 769px){.mobile-save-draft-button[_ngcontent-%COMP%]{display:none!important}}.save-and-quit-container[_ngcontent-%COMP%]{padding-top:1vh}@media (min-width: 769px){.save-and-quit-container[_ngcontent-%COMP%]{display:none!important}}.showAllAffectations[_ngcontent-%COMP%]{margin-top:33px}.identification-title[_ngcontent-%COMP%]{font-size:1.4rem}@media (min-width: 600px){.identification-title[_ngcontent-%COMP%]{font-size:1.55rem}}"]}),w})()},95338:(tt,F,e)=>{e.d(F,{h:()=>ht});var i=e(55288),b=e(28416),t=e(77339),I=e(62509),p=e(12424),l=e(48235),P=e(49823),j=e(97586),C=e.n(j),E=e(35052),O=e(5964),h=e(96354),A=e(25558),S=e(99437),n=e(70274),$=e(61622),L=e(67376),B=e(46822),r=e(54438),U=e(92995),_=e(34006),N=e(88834);let g=(()=>{var o;class a{constructor(){this.dialogRef=(0,r.WQX)(_.CP),this.data=(0,r.WQX)(_.Vh),this.labels={cartonButtonLabel:"T\xE9l\xE9charger le carton",detailButtonLabel:"T\xE9l\xE9charger le permis"}}ngOnInit(){this.cartonUrl=this.data.cartonUrl,this.detailUrl=this.data.detailUrl}closeDialog(){this.dialogRef.close()}}return(o=a).\u0275fac=function(s){return new(s||o)},o.\u0275cmp=r.VBU({type:o,selectors:[["vplus-download-permit-dialog"]],decls:17,vars:4,consts:()=>{let W,s;return W="Signature termin\xE9e",s="Votre permis a \xE9t\xE9 sign\xE9 avec succ\xE8s et est maintenant officiellement valide. Vous pouvez d\xE8s \xE0 pr\xE9sent t\xE9l\xE9charger vos documents officiels.",[W,s,[1,"dialog-container"],[1,"icon-close","close-icone",3,"click"],[1,"dialog-title"],[1,"dialog-content"],[1,"dialog-buttons"],[1,"link",3,"href"],["mat-raised-button","","color","primary",1,"button-label"],[1,"icon-permis-minimal"],[1,"icon-file-text"]]},template:function(s,c){1&s&&(r.j41(0,"div",2)(1,"i",3),r.bIt("click",function(){return c.closeDialog()}),r.k0s(),r.j41(2,"h4",4),r.pXf(3,0),r.k0s(),r.j41(4,"div")(5,"mat-dialog-content",5)(6,"p"),r.pXf(7,1),r.k0s()(),r.j41(8,"div",6)(9,"a",7)(10,"button",8),r.nrm(11,"i",9),r.EFF(12),r.k0s()(),r.j41(13,"a",7)(14,"button",8),r.nrm(15,"i",10),r.EFF(16),r.k0s()()()()()),2&s&&(r.R7$(9),r.Y8G("href",c.data.detailUrl,r.B4B),r.R7$(3),r.SpI(" ",c.labels.detailButtonLabel," "),r.R7$(),r.Y8G("href",c.data.cartonUrl,r.B4B),r.R7$(3),r.SpI(" ",c.labels.cartonButtonLabel," "))},dependencies:[N.$z,_.Yi],styles:[".dialog-container[_ngcontent-%COMP%]{position:relative}.dialog-content[_ngcontent-%COMP%]{margin-bottom:40px;margin-top:20px;color:#000}.dialog-buttons[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:30px}.link[_ngcontent-%COMP%]{color:#fff}.button-label[_ngcontent-%COMP%]{text-align:center}.close-icone[_ngcontent-%COMP%]{float:right;font-size:1.5em;cursor:pointer}@media (max-width: 690px){.dialog-buttons[_ngcontent-%COMP%]{flex-direction:column-reverse;align-items:center;gap:10px}}@media (min-width: 690px){.dialog-buttons[_ngcontent-%COMP%]{margin-bottom:20px}}"]}),a})();var u=e(64075),T=e(53387),D=e(18810),z=e(7673),G=e(47746),d=e(9310),k=e(89079);let et=(()=>{var o;class a{constructor(){this.dialog=(0,r.WQX)(_.bZ),this.actions$=(0,r.WQX)(t.En),this.store=(0,r.WQX)(d.il),this.requeteService=(0,r.WQX)(G.t),this.appConfig=(0,r.WQX)(E.o),this.destroyRef=(0,r.WQX)(r.abz),this.persistCategorieSelection$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.setCurrentCategorie),(0,O.p)(s=>{var c;return!(null===(c=s.payload)||void 0===c||!c.categorieId)}),(0,h.T)(s=>{var c;return p.setDerniereCategorieSelectionnee({payload:{categorieId:s.payload.categorieId,sousCategorieId:null!==(c=s.payload.sousCategorieId)&&void 0!==c?c:null}})}))),this.resetCurrentWorkitem$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.resetCurrentWorkitem),(0,A.n)(s=>{var c,x;const R=s.payload.type===U.Op.Requete?new $.Eu(s.payload.fromOrganisation?null===(c=this.currentUser.entreprise)||void 0===c?void 0:c.id:null):new $.n(s.payload.fromOrganisation?null===(x=this.currentUser.entreprise)||void 0===x?void 0:x.id:null);if(!this.selectIsLoggedIn){const M=new P.Personne;return M.inscrit=!1,M.invite=!0,R.citoyenId=M.id,[p.setCurrentWorkitem({payload:R}),p.setCurrentCitoyenSansCompte({payload:M})]}return[p.setCurrentWorkitem({payload:R})]}),(0,S.W)(s=>(0,D.$)(s)))),this.createCurrentWorkitem$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.createCurrentWorkitem),(0,h.T)(s=>s.payload),(0,B.Y)(()=>this.store.select(l.x8)),(0,A.n)(([{surveyDocuments:s,infoModification:c,surveyReponses:x},R])=>{if(!R.statutId){const ot=C().tz(new Date,"UTC");R.dateCreationReelle=ot,R.isCreationReelle=!0}const M=null!=x?x:R.surveyReponse,q=null==M?void 0:M[u.QpI.Emplacement];q&&q!==u.orq&&(null==q||!q.extraPayload)&&(M[u.QpI.Emplacement].extraPayload="exact");const Q=[];if(!R.statutId){var J,Z;const ot=R.entrepriseId?this.currentUser.entreprise.nom:this.currentUser?`${this.currentUser.prenom} ${this.currentUser.nom}`:`${null==R||null===(J=R.citoyen)||void 0===J?void 0:J.prenom} ${null==R||null===(Z=R.citoyen)||void 0===Z?void 0:Z.nom}`,st=new T.yI(ot,R.entrepriseId?U.zA.Organisation:U.zA.Citoyen);st.details.push(new T.IS(U.W_.Creation)),Q.push(st)}return this.requeteService.upsertWorkItem({...R,surveyReponse:M,surveyDocuments:s},c,Q)}),(0,A.n)(s=>{if(this.currentWorkitemVW.titre=s.newTitle,this.currentWorkitemVW.surveyReponse){const M=this.currentWorkitemVW.surveyReponse.vplus_requerant;if(M&&this.currentUser){var c;const q={};if(M[u.S3Q.Prenom]&&M[u.S3Q.Prenom]!==this.currentUser.prenom&&(q.prenom=M[u.S3Q.Prenom]),M[u.S3Q.Nom]&&M[u.S3Q.Nom]!==this.currentUser.nom&&(q.nom=M[u.S3Q.Nom]),M[u.S3Q.Telephone]){const J=`${this.appConfig.appConfig.telCountryCode}${M[u.S3Q.Telephone]}`;J!==this.currentUser.telephone&&(q.telephone=J)}
1if(null!==(c=M[u.S3Q.Adresse])&&void 0!==c&&c.stringAdr){var x,R;const Q=this.currentUser.adresses?(0,L.cloneDeep)(this.currentUser.adresses):[];if(`${null===(x=Q[0])||void 0===x?void 0:x.adresseFormatte}, ${null===(R=Q[0])||void 0===R?void 0:R.adrVille}`!==M[u.S3Q.Adresse].stringAdr){const Z=M[u.S3Q.Adresse].stringAdr.split(",");Q[0]={...Q[0],id:(0,u.SiN)(),adresse:Z[0],adresseFormatte:Z[0],adrVille:Z[1].trim()},q.adresses=Q}}this.store.dispatch(new P.Actions.UpdateUserSuccess(q))}}return[p.createCurrentWorkitemSuccess(),p.setCurrentWorkitem({payload:this.currentWorkitemVW})]}),(0,S.W)(s=>(this.store.dispatch(p.createCurrentWorkitemFailed()),(0,D.$)(s))))),this.repondreWorkItem$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.repondreCurrentWorkitem),(0,A.n)(()=>this.requeteService.repondreWorkItem(this.currentWorkitemVW).pipe((0,h.T)(()=>(this.store.dispatch(new P.Actions.ShowSnackBar("Message envoy\xE9")),p.repondreCurrentWorkitemSuccess())),(0,S.W)(s=>{const c="AFFECTATION_FERMEE"===(null==s?void 0:s.code);return this.store.dispatch(new P.Actions.ShowSnackBar(c?"Impossible d'envoyer le message, car la demande a \xE9t\xE9 ferm\xE9e.":" Une erreur est survenue lors de l'envoi du message",P.EnumSnackBarType.Echec)),(0,z.of)(p.repondreCurrentWorkitemFailed({affectationFermee:c}))}))))),this.deleteWorkitem$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.deleteWorkitem),(0,h.T)(s=>s.payload),(0,n.H)(({wiId:s,wiType:c})=>this.requeteService.deleteWorkItem(s).pipe((0,h.T)(()=>(this.store.dispatch(new P.Actions.ShowSnackBar(c===U.Op.Requete?"La requ\xEAte a \xE9t\xE9 supprim\xE9e":"La demande de permis a \xE9t\xE9 supprim\xE9e")),p.deleteWorkitemSuccess({payload:{wiId:s}}))),(0,S.W)(()=>(this.store.dispatch(new P.Actions.ShowSnackBar("Une erreur est survenue lors de la suppression",P.EnumSnackBarType.Echec)),(0,z.of)(p.deleteWorkitemFailed()))))))),this.changerStatutMsgLu$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.changerStatutMsgLu),(0,h.T)(s=>s.payload),(0,A.n)(s=>this.requeteService.changerStatutMsgLu(s.id,s.lu).pipe((0,h.T)(c=>"OK"===c.code?p.changerStatutMsgLuSuccess():p.changerStatutMsgLuEchec()),(0,S.W)(c=>(0,D.$)(c)))))),this.signerPermis$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.signerPermis),(0,A.n)(({workitem:s})=>this.requeteService.signerPermis(s).pipe((0,h.T)(c=>(this.store.dispatch(new P.Actions.ShowSnackBar("Le permis a \xE9t\xE9 sign\xE9 avec succ\xE8s")),p.signerPermisSuccess({dateSignatureReq:c.dateSignatureReq,detailUrl:c.detailUrl,cartonUrl:s.etatPermis.cartonUrl}))),(0,S.W)(c=>{const x="ALREADY_SIGNED"===(null==c?void 0:c.code);return this.store.dispatch(new P.Actions.ShowSnackBar(x?"Ce permis a d\xE9j\xE0 \xE9t\xE9 sign\xE9 par un autre administrateur.":"Une erreur est survenue lors de la signature du permis.",P.EnumSnackBarType.Echec)),(0,z.of)(p.signerPermisFailed({alreadySigned:x}))}))))),this.openDialog$=(0,t.EH)(()=>this.actions$.pipe((0,t.gp)(p.signerPermisSuccess),(0,h.T)(s=>this.dialog.open(g,{width:U.Uq.Medium,data:{cartonUrl:s.cartonUrl,detailUrl:s.detailUrl}}
1))),{dispatch:!1}),this.store.select(l.x8).pipe((0,k.pQ)(this.destroyRef)).subscribe(s=>{this.currentWorkitemVW=s}),this.store.select(P.selectIsLoggedIn).pipe((0,k.pQ)(this.destroyRef)).subscribe(s=>this.selectIsLoggedIn=s),this.store.select(P.selectCurrentUser).pipe((0,k.pQ)(this.destroyRef)).subscribe(s=>this.currentUser=s),this.store.select(l.ci).pipe((0,k.pQ)(this.destroyRef)).subscribe(s=>{this.categorieList=s})}}return(o=a).\u0275fac=function(s){return new(s||o)},o.\u0275prov=r.jDH({token:o,factory:o.\u0275fac}),a})();const v=(0,d.vy)(l.tn.requeteEnCoursList,(0,d.on)(l.En.setWorkitemEnCoursList,(o,{payload:a})=>JSON.parse(JSON.stringify(a))),(0,d.on)(l.En.deleteWorkitemSuccess,(o,{payload:{wiId:a}})=>o.filter(W=>W.wiId!==a))),m=(0,d.vy)(l.tn.currentRequeteCreated,(0,d.on)(l.En.resetCurrentWorkitem,()=>!1),(0,d.on)(l.En.createCurrentWorkitemSuccess,()=>!0)),y=(0,d.vy)(l.tn.requeteAllList,(0,d.on)(l.En.setWorkitemAllList,(o,{payload:a})=>JSON.parse(JSON.stringify(a)))),nt=(0,d.vy)(l.tn.currentRequete,(0,d.on)(l.En.setCurrentWorkitem,(o,{payload:a})=>(0,L.cloneDeep)(a)),(0,d.on)(l.En.setCurrentCategorie,(o,{payload:a})=>Object.assign({},o,a)),(0,d.on)(l.En.setSurveyVersion,(o,{payload:a})=>Object.assign({},o,{surveyVersion:a})),(0,d.on)(l.En.setSurveyReponses,(o,{payload:a})=>{const W=JSON.parse(JSON.stringify(a));return Object.assign({},o,{surveyReponse:W})}),(0,d.on)(l.En.signerPermisSuccess,(o,{dateSignatureReq:a,detailUrl:W})=>({...o,etatPermis:{...o.etatPermis,dateSignatureReq:a,detailUrl:W}}))),K=(0,d.vy)(l.tn.currentCitoyenSansCompte,(0,d.on)(l.En.setCurrentCitoyenSansCompte,(o,{payload:a})=>(0,L.cloneDeep)(a))),it=(0,d.vy)(l.tn.categorieList,(0,d.on)(l.En.setCategorieList,(o,{payload:a})=>(0,L.cloneDeep)(a))),at=(0,d.vy)(l.tn.statusList,(0,d.on)(l.En.setStatusList,(o,{payload:a})=>(0,L.cloneDeep)(a))),rt=(0,d.vy)(l.tn.introList,(0,d.on)(l.En.setIntroList,(o,{payload:a})=>(0,L.cloneDeep)(a))),ut=(0,d.vy)(l.tn.parametres,(0,d.on)(l.En.setParametreList,(o,{payload:a})=>(0,L.cloneDeep)(a))),pt=(0,d.vy)(l.tn.derniereCategorieSelectionnee,(0,d.on)(l.En.setDerniereCategorieSelectionnee,(o,{payload:a})=>a)),mt={requeteEnCoursList:function w(o,a){return v(o,a)},currentRequeteCreated:function f(o,a){return m(o,a)},requeteAllList:function V(o,a){return y(o,a)},currentRequete:function X(o,a){return nt(o,a)},currentCitoyenSansCompte:function H(o,a){return K(o,a)},categorieList:function Y(o,a){return it(o,a)},statusList:function ct(o,a){return at(o,a)},introList:function lt(o,a){return rt(o,a)},parametres:function dt(o,a){return ut(o,a)},derniereCategorieSelectionnee:function _t(o,a){return pt(o,a)}};var ft=e(51188),gt=e(10916);let ht=(()=>{var o;class a{}return(o=a).\u0275fac=function(s){return new(s||o)},o.\u0275mod=r.$C({type:o}),o.\u0275inj=r.G2t({providers:[I.y,i.r,b.$],imports:[gt.G,ft.iI,d.md.forFeature("requete",mt),t.Vm.forFeature([et])]}),a})()},62509:(tt,F,e)=>{e.d(F,{y:()=>O});var i=e(12424),b=e(35052),t=e(53387),I=e(92995),p=e(27468),l=e(98377),P=e(96354),j=e(47746),C=e(54438),E=e(9310);let O=(()=>{var h;class A{constructor(n,$,L,B){this.store=n,this.requeteService=$,this.appConfig=L,this.localisationService=B}resolve(n){return(0,p.p)([this.requeteService.fetchCategorieList(n.data.module===t.AL.Permis?I.Op.Permis:I.Op.Requete),this.requeteService.fetchStatusList(),this.requeteService.fetchIntroList()]).pipe((0,P.T)(([$,L,B])=>(this.store.dispatch(i.setCategorieList({payload:$})),this.store.dispatch(i.setParametreList({payload:{allowInvite:n.data.module===t.AL.Permis?this.appConfig.appConfig.paramList.allowInvitePermis:this.appConfig.appConfig.paramList.allowInviteReq}})),L.forEach(r=>{var U;return r.statutNom=null===(U=L.find(_=>_.statutId===r.statutId))||void 0===U?void 0:U.statusLocalisations.find(_=>_.lclzTag===this.localisationService.getCurrentLocalisation()&&_.statusNom||_.lclzTag===this.appConfig.appConfig.localisationDefaut).statusNom}),this.store.dispatch(i.setStatusList({payload:L})),this.store.dispatch(i.setIntroList({payload:B})),!0)))}}return(h=A).\u0275fac=function(n){return new(n||h)(C.KVO(E.il),C.KVO(j.t),C.KVO(b.o),C.KVO(l.A))},h.\u0275prov=C.jDH({token:h,factory:h.\u0275fac}),A})()},64940:(tt,F,e)=>{e.d(F,{m:()=>j});var i=e(54438),b=e(88834),t=e(51188),I=e(88974),p=e(60177);
1function l(C,E){if(1&C&&(i.qex(0),i.j41(1,"button",4),i.EFF(2),i.k0s(),i.bVm()),2&C){const O=i.XpG();i.R7$(),i.Y8G("routerLink",O.buttonLink)("queryParams",O.buttonQueryParams),i.R7$(),i.JRh(O.buttonLabel)}}function P(C,E){if(1&C){const O=i.RV6();i.j41(0,"button",5),i.bIt("click",function(){i.eBV(O);const A=i.XpG();return i.Njj(A.clickButton())}),i.EFF(1),i.k0s()}if(2&C){const O=i.XpG();i.R7$(),i.JRh(O.buttonLabel)}}let j=(()=>{var C;class E{constructor(){this.onClickButton=new i.bkB}clickButton(){this.onClickButton.emit()}}return(C=E).\u0275fac=function(h){return new(h||C)},C.\u0275cmp=i.VBU({type:C,selectors:[["vplus-intro-card"]],inputs:{title:"title",imgSrc:"imgSrc",description:"description",buttonLabel:"buttonLabel",buttonLink:"buttonLink",buttonQueryParams:"buttonQueryParams"},outputs:{onClickButton:"onClickButton"},decls:10,vars:5,consts:[["showDialog",""],[1,"intro-card"],[3,"src"],[4,"ngIf","ngIfElse"],["mat-raised-button","","color","primary",1,"text-center",3,"routerLink","queryParams"],["mat-raised-button","","color","primary",1,"text-center",3,"click"]],template:function(h,A){if(1&h&&(i.j41(0,"div",1),i.nrm(1,"img",2),i.j41(2,"div")(3,"h2"),i.EFF(4),i.k0s(),i.j41(5,"p"),i.EFF(6),i.k0s(),i.DNE(7,l,3,3,"ng-container",3)(8,P,2,1,"ng-template",null,0,i.C5r),i.k0s()()),2&h){const S=i.sdS(9);i.R7$(),i.Y8G("src",A.imgSrc,i.B4B),i.R7$(3),i.JRh(A.title),i.R7$(2),i.JRh(A.description),i.R7$(),i.Y8G("ngIf",A.buttonLink)("ngIfElse",S)}},dependencies:[b.$z,t.Wk,I.N7,p.bT],styles:[".intro-card[_ngcontent-%COMP%]{text-align:center}.intro-card[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--primary-color);font-size:160px}.intro-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:70%;align-self:baseline}.intro-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--standard-text-color);margin-bottom:2rem}.intro-card[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]{width:100%}.intro-card[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]   .mdc-button__label[_ngcontent-%COMP%]{justify-content:center}@media (min-width: 960px){.intro-card[_ngcontent-%COMP%]{text-align:left;display:flex}.intro-card[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]{width:initial}.intro-card[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-left:2rem}.intro-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:300px;max-width:40%}}@media (min-width: 1280px){.intro-card[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-left:3rem}}"]}),E})()}}]);

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.