1"use strict";(self.webpackChunkpointml=self.webpackChunkpointml||[]).push([[237],{9045:(b,v,s)=>{s.d(v,{s:()=>f});var e=s(553),c=s(5879),p=s(9862),u=s(3053);let f=(()=>{class t{constructor(o,m){this.http=o,this.appConfig=m,this.serviceURL=e.N.apiUrl,this.httpOptions=this.appConfig.httpHeaders()}findDomaines(o){return this.http.post(this.serviceURL+"/domaines/search/client",o,this.httpOptions)}checkDomaines(o){return this.http.post(this.serviceURL+"/domaines/check-disponibilite",o,this.httpOptions)}getDomaineInfo(o){return this.http.post(this.serviceURL+"/domaines/info",o,this.httpOptions)}saveCommande(o){return this.http.post(this.serviceURL+"/bill/save",o,this.httpOptions)}saveRenouvellement(o){return this.http.post(this.serviceURL+"/bill/save/renouvelement",o,this.httpOptions)}saveRestauration(o){return this.http.post(this.serviceURL+"/bill/save/restore",o,this.httpOptions)}saveTransfer(o){return this.http.post(this.serviceURL+"/bill/save/transfer",o,this.httpOptions)}verifyEmail(o){return this.http.post(this.serviceURL+"/customers/check-client/email",o,this.httpOptions)}findinfosByToken(o){return this.http.get(this.serviceURL+"/domaines/find-temp-domain?t="+o,this.httpOptions)}findFactureByClient(o){return this.http.post(this.serviceURL+"/bill/search/byclient",o,this.httpOptions)}findUnpaidBillCount(o){return this.http.post(this.serviceURL+"/bill/search/unpaid/bill",o,this.httpOptions)}findFactureById(o){return this.http.post(this.serviceURL+"/bill/search/detailst",o,this.httpOptions)}updateFacture(o){return this.http.post(this.serviceURL+"/bill/update",o,this.httpOptions)}payFacture(o){return this.http.post(this.serviceURL+"/bill/paye",o,this.httpOptions)}saveAddFund(o){return this.http.post(this.serviceURL+"/bill/save/add-fund",o,this.httpOptions)}updateDomaine(o){return this.http.post(this.serviceURL+"/domaines/update",o,this.httpOptions)}localUpdateDomaine(o){return this.http.post(this.serviceURL+"/domaines/update/local",o,this.httpOptions)}updateContact(o){return this.http.post(this.serviceURL+"/domaines/contact-update",o,this.httpOptions)}setRedirection(o){return this.http.post(this.serviceURL+"/domaines/create/redirect-url",o,this.httpOptions)}deleteRedirection(o){return this.http.post(this.serviceURL+"/domaines/del/redirect-url",o,this.httpOptions)}createHost(o){return this.http.post(this.serviceURL+"/domaines/host-create",o,this.httpOptions)}updateHost(o){return this.http.post(this.serviceURL+"/domaines/host-update",o,this.httpOptions)}getZoneInfo(o){return this.http.post(this.serviceURL+"/domaines/zone-info",o,this.httpOptions)}addZoneRecord(o){return this.http.post(this.serviceURL+"/domaines/zone-record-create",o,this.httpOptions)}saveBillet(o){return this.http.post(this.serviceURL+"/billets/save",o,this.httpOptions)}saveComment(o){return this.http.post(this.serviceURL+"/billets/save/comment",o,this.httpOptions)}savePayment(o){return this.http.post(this.serviceURL+"/payment/save",o,this.httpOptions)}findBilletByClient(o){return this.http.post(this.serviceURL+"/billets/search/byClient",o,this.httpOptions)}findBilletDetails(o){return this.http.get(this.serviceURL+"/billets/details?billetId="+o,this.httpOptions)}findBilletComments(o){return this.http.get(this.serviceURL+"/billets/find/comments?billetId="+o,this.httpOptions)}findNotifByClient(o){return this.http.post(this.serviceURL+"/notifs/search/byClient",o,this.httpOptions)}findNotifDetails(o){return this.http.post(this.serviceURL+"/notifs/details",o,this.httpOptions)}updateClient(o){return this.http.post(this.serviceURL+"/customers/update",o,this.httpOptions)}updateClientPassword(o){return this.http.post(this.serviceURL+"/customers/password/update",o,this.httpOptions)}findClientById(o){return this.http.post(this.serviceURL+"/customers/find/byId",o,this.httpOptions)}checkIfDomainIsPremium(o){return this.http.post(this.serviceURL+"/premium/find",o,this.httpOptions)}static#t=this.\u0275fac=function(m){return new(m||t)(c.LFG(p.eN),c.LFG(u.X))};static#e=this.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()},4419:(b,v,s)=>{s.d(v,{a:()=>p});var e=s(5879),c=s(67);let p=(()=>{class u{constructor(t){this.router=t}canActivate(t,g){return!!localStorage.getItem("PmlUser")||(this.router.navigate(["/"]),!1)}static#t=this.\u0275fac=function(g){return new(g||u)(e.LFG(c.F0))};static#e=this.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},4861:(b,v,s)=>{s.d(v,{x:()=>c});var e=s(5879);let c=(()=>{class p{deserialize(f){return Object.assign(this,f),this}static#t=this.\u0275fac=function(t){return new(t||p)};static#e=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac})}return p})()},481:(b,v,s)=>{s.d(v,{T:()=>c});var e=s(5879);let c=(()=>{class p{deserialize(f){return Object.assign(this,f),this}static#t=this.\u0275fac=function(t){return new(t||p)};static#e=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac})}return p})()},515:(b,v,s)=>{s.d(v,{c:()=>p});var e=s(5879),c=s(4598);let p=(()=>{class u{constructor(t){this.translate=t}ngOnInit(){const t=localStorage.getItem("language"),g=localStorage.getItem("flagClass");t&&g?(this.currentLanguage="fr"===t?"Fran\xe7ais/French":"Anglais/English",this.translate.use(t),this.currentFlagClass=g):(this.currentLanguage="Fran\xe7ais/French",this.translate.use("fr"),this.currentFlagClass="flag-icon flag-icon-fr")}static#t=this.\u0275fac=function(g){return new(g||u)(e.Y36(c.sK))};static#e=this.\u0275cmp=e.Xpm({type:u,selectors:[["app-footer"]],decls:39,vars:27,consts:[[1,"site-footer",2,"margin-top","10%"],[1,"container"],[1,"col-lg-4","col-md-4","col-sm-12","mb-4"],[1,"site-footer-title"],[1,"site-footer-links"],[1,"site-footer-link-item"],["href","https://agetic.gouv.ml/wp-content/uploads/2024/10/Accreditation-v_04072024-30092024.pdf",1,"site-footer-link"],["href","https://agetic.gouv.ml/wp-content/uploads/2024/10/charte-de-nommage-point-ml_VF-28032024-30092024.pdf",1,"site-footer-link"],["href","https://agetic.gouv.ml/wp-content/uploads/2024/10/Politique-de-Contenu-ml-28032024_VF-4-30092024.pdf",1,"site-footer-link"],[1,"col-lg-3","col-md-3","col-sm-12","mb-4"],["href","https://agetic.gouv.ml",1,"site-footer-link"]],template:function(g,o){1&g&&(e.TgZ(0,"footer",0)(1,"div",1)(2,"div",2)(3,"h2",3),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"ul",4)(7,"li",5)(8,"a",6),e._uU(9),e.ALo(10,"translate"),e.qZA()(),e.TgZ(11,"li",5)(12,"a",7),e._uU(13),e.ALo(14,"translate"),e.qZA()(),e.TgZ(15,"li",5)(16,"a",8),e._uU(17),e.ALo(18,"translate"),e.qZA()()()(),e.TgZ(19,"div",9),e._uU(20),e.ALo(21,"translate"),e.qZA(),e.TgZ(22,"div",2)(23,"h2",3),e._uU(24),e.ALo(25,"translate"),e.qZA(),e.TgZ(26,"ul",4)(27,"li",5)(28,"a",10),e._uU(29),e.ALo(30,"translate"),e.qZA()(),e.TgZ(31,"li",5)(32,"a",10),e._uU(33),e.ALo(34,"translate"),e.qZA()(),e.TgZ(35,"li",5)(36,"a",10),e._uU(37),e.ALo(38,"translate"),e.qZA()()()()()()),2&g&&(e.xp6(4),e.Oqu(e.l
1cZ(5,9,"resources_title")),e.xp6(5),e.Oqu(e.lcZ(10,11,"how_it_works")),e.xp6(4),e.Oqu(e.lcZ(14,13,"faqs")),e.xp6(4),e.Oqu(e.lcZ(18,15,"contact")),e.xp6(3),e.hij(" ",e.lcZ(21,17,"copyright")," "),e.xp6(4),e.Oqu(e.lcZ(25,19,"information_title")),e.xp6(5),e.Oqu(e.lcZ(30,21,"phone_number_footer")),e.xp6(4),e.Oqu(e.lcZ(34,23,"website_1")),e.xp6(4),e.Oqu(e.lcZ(38,25,"website_2")))},dependencies:[c.X$],styles:[".site-footer[_ngcontent-%COMP%]{padding-top:20px;margin-top:5%;background-color:#f8f9fa;color:#333;font-size:.95rem}.site-footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px}.site-footer-title[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1rem;font-weight:700}.site-footer-links[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.site-footer-link-item[_ngcontent-%COMP%]{margin-bottom:.5rem}.site-footer-link[_ngcontent-%COMP%]{color:#252525;text-decoration:none}.site-footer-link[_ngcontent-%COMP%]:hover{text-decoration:underline}@media (max-width: 992px){.site-footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.site-footer[_ngcontent-%COMP%] .col-lg-4[_ngcontent-%COMP%]{width:100%}}"]})}return u})()},9237:(b,v,s)=>{s.r(v),s.d(v,{HeaderModule:()=>K});var e=s(6814),c=s(67),p=s(4861),u=s(481),f=s(553),t=s(5879),g=s(4598),o=s(9045),m=s(6223),O=s(6007);function Z(n,h){1&n&&t._UZ(0,"mat-progress-bar",20)}function L(n,h){if(1&n){const i=t.EpF();t.TgZ(0,"button",21),t.NdJ("click",function(){t.CHM(i);const a=t.oxw();return t.KtG(a.checkDisponibilite())}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"check_button")))}function U(n,h){if(1&n&&(t.TgZ(0,"p",22),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t._uU(5),t.ALo(6,"translate"),t.qZA()),2&n){const i=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,3,"available_msg")," "),t.xp6(3),t.Oqu(i.cart.domaineName),t.xp6(1),t.hij(" ",t.lcZ(6,5,"is_available")," ")}}function A(n,h){if(1&n&&(t.TgZ(0,"p",23),t._uU(1),t.ALo(2,"translate"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t._uU(5),t.ALo(6,"translate"),t.qZA()),2&n){const i=t.oxw();t.xp6(1),t.hij(" ",t.lcZ(2,3,"unavailable_msg")," "),t.xp6(3),t.Oqu(i.cart.domaineName),t.xp6(1),t.hij(" ",t.lcZ(6,5,"already_registered")," ")}}function M(n,h){1&n&&(t.TgZ(0,"p",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"connection_error")," "))}function I(n,h){1&n&&(t.TgZ(0,"p",32),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" \u2705 ",t.lcZ(2,1,"available")," "))}function P(n,h){1&n&&(t.TgZ(0,"p",33),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&n&&(t.xp6(1),t.hij(" \u274c ",t.lcZ(2,1,"unavailable")," "))}function y(n,h){if(1&n&&(t.TgZ(0,"option",37),t._uU(1),t.qZA()),2&n){const i=h.$implicit;t.Q6J("ngValue",i),t.xp6(1),t.hij(" ",i.libelle," ")}}function T(n,h){if(1&n){const i=t.EpF();t.TgZ(0,"div",34)(1,"select",35),t.NdJ("ngModelChange",function(a){t.CHM(i);const d=t.oxw(2);return t.KtG(d.cart.periode=a)}),t.YNc(2,y,2,2,"option",36),t.qZA()()}if(2&n){const i=t.oxw(2);t.xp6(1),t.Q6J("ngModel",i.cart.periode),t.xp6(1),t.Q6J("ngForOf",i.prices)}}function F(n,h){if(1&n){const i=t.EpF();t.TgZ(0,"button",38),t.NdJ("click",function(){t.CHM(i);const a=t.oxw(2);return t.KtG(a.orderNow())}),t._uU(1),t.ALo(2,"translate"),t.qZA()}2&n&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"order_now")," "))}function E(n,h){if(1&n&&(t.TgZ(0,"div",24)(1,"form",25),t._UZ(2,"input",26),t.TgZ(3,"h2",27),t._uU(4),t.qZA(),t.YNc(5,I,3,3,"p",28),t.YNc(6,P,3,3,"p",29),t.YNc(7,T,3,2,"div",30),t.YNc(8,F,3,3,"button",31),t.qZA()()),2&n){const i=t.oxw();t.xp6(4),t.hij(" ",i.cart.domaineName," "),t.xp6(1),t.Q6J("ngIf",i.domIsAvailable),t.xp6(1),t.Q6J("ngIf",i.domIsNotAvailable),t.xp6(1),t.Q6J("ngIf",i.domIsAvailable),t.xp6(1),t.Q6J("ngIf",i.domIsAvailable)}}let R=(()=>{class n{constructor(i,r,a,d){this.translate=i,this.route=r,this.router=a,this.apiService=d,this.action="domaines",this.cart=new p.x,this.searchParam=new u.T,this.prices=[]}ngOnInit(){const i=localStorage.getItem("language"),r=localStorage.getItem("flagClass");i&&r?(this.currentLanguage="fr"===i?"Fran\xe7ais/French":"Anglais/English",this.translate.use(i),this.currentFlagClass=r):(this.currentLanguage="Fran\xe7ais/French",this.translate.use("fr"),this.currentFlagClass="flag-icon flag-icon-fr"),this.initializePrices(this.translate.currentLang||"fr"),this.prices?.length&&(this.cart.periode=this.prices[0])}initializePrices(i){const r="fr"===i;this.prices=Array.from({length:10},(a,d)=>{const l=d+1;return{libelle:`${l} ${r?1===l?"an":"ans":1===l?"year":"years"}`,unite:"y",duree:l,prix:f.N.fraisAchat*l}})}
1checkDisponibilite(){let i=f.N.subDomains;if(this.domIsNotAvailable=!1,this.domIsAvailable=!1,this.domError=!1,!this.domain)return;const a="fr"===localStorage.getItem("language")?"Nom de domaine incorrect!":"Invalid domain name!";this.domain=this.domain.replace(/\s+/g,"");let d=this.domain.split(".");1==d.length&&(this.domain+=".ml"),2==d.length&&i.includes(d[1])&&(this.domain+=".ml"),2!=d.length||i.includes(d[1])||"ml"==d[1]?d.length>3?alert(a):3!=d.length||i.includes(d[1])?(this.loading=!0,this.cart.domaineName=this.domain,this.searchParam.query=this.cart.domaineName,this.apiService.checkDomaines(this.searchParam).subscribe(l=>{if(this.loading=!1,"OK"===l.status){const x=l.response.available;this.domIsAvailable=x,this.domIsNotAvailable=!x,x&&this.openModal()}else this.domError=!0,this.errorMessage=l.message},l=>{this.loading=!1,this.domError=!0,this.errorMessage="Probl\xe8me de connexion au serveur!"})):alert(a):alert(a)}openModal(){const i=document.getElementById("availabilityModal");i&&(i.style.display="block")}closeModal(){const i=document.getElementById("availabilityModal");i&&(i.style.display="none")}orderNow(){this.loading=!0,this.searchParam.domain=this.domain,this.searchParam.query="CREATE";let i=f.N.subDomains;this.apiService.checkIfDomainIsPremium(this.searchParam).subscribe(r=>{if(this.loading=!1,"OK"===r.status){if(this.premium=r.response,this.cart.isTransfer=!1,this.premium)this.cart.isPremium=!0,this.cart.premium=this.premium,this.cart.montant=this.premium.montant*this.cart.periode.duree;else{let a=this.domain.split(".");this.cart.montant=3==a.length&&i.includes(a[1])?f.N.fraisAchat*this.cart.periode.duree:this.calculatePrice(a[0])*this.cart.periode.duree}localStorage.setItem("pmlcart",JSON.stringify(this.cart)),this.router.navigate(["/website/espaceclient/configuration"])}},r=>{this.loading=!1,console.error("Error checking premium domain:",r)})}calculatePrice(i){let r;return r=1==i.length?1e6:2==i.length?5e5:3==i.length?25e4:f.N.fraisAchat,r}static#t=this.\u0275fac=function(r){return new(r||n)(t.Y36(g.sK),t.Y36(c.gz),t.Y36(c.F0),t.Y36(o.s))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-content"]],decls:31,vars:22,consts:[[1,"hero-section","d-flex","justify-content-center","align-items-center",2,"border-radius","0 0 180px 180px"],[1,"container"],["mode","indeterminate",4,"ngIf"],[1,"row","justify-content-center",2,"margin-bottom","20px"],[1,"text-white","text-center","mt-2"],[1,"text-center"],[1,"col-lg-6","col-md-6","col-sm-12"],["method","get","role","search",1,"custom-form","mt-4","pt-2","mb-lg-0","mb-5"],[1,"input-group","input-group-lg"],["id","basic-addon1",1,"input-group-text","bi-search"],["name","keyword","type","search","id","keyword","aria-label","Search","name","domain","name","domainname","id","domainname","required","",1,"form-control",3,"placeholder","ngModel","ngModelChange"],["type","submit","class","form-control",3,"click",4,"ngIf"],[2,"padding-bottom","4%"],[1,"domainStatus",2,"text-align","center","color","#fff","margin-top","10px"],["class","fontsize3 domcheckersuccess textcenter",4,"ngIf"],["class","fontsize3 domcheckererror textcenter",4,"ngIf"],["class","shadow-lg text-center card","style","width: 50%; margin: auto; padding: 10px; margin-bottom: 10px; color: #fff;",4,"ngIf"],[2,"padding-bottom","14%"],[1,"row"],[1,"social-share","d-flex"],["mode","indeterminate"],["type","submit",1,"form-control",3,"click"],[1,"fontsize3","domcheckersuccess","textcenter"],[1,"fontsize3","domcheckererror","textcenter"],[1,"shadow-lg","text-center","card",2,"width","50%","margin","auto","padding","10px","margin-bottom","10px","color","#fff"],["id","order_domain"],["type","hidden","name","token","value","bede2bc77e8797a0b3e98d6b152c1744be8e79d7"],[1,"text-lg","font-semibold","text-gray-800"],["class","text-green-600 font-medium mt-2",4,"ngIf"],["class","text-red-600 font-medium mt-2",4,"ngIf"],["class","mt-4 periodeClass",4,"ngIf"],["type","button","class","commander-btn",3,"click",4,"ngIf"],[1,"text-green-600","font-medium","mt-2"],[1,"text-red-600","font-medium","mt-2"],[1,"mt-4","periodeClass"],["name","periode","placeholder","Selectionner",2,"padding","8px 16px","width","100%","text-align","center","font-size","14px","font-weight","500","color","#333","cursor","pointer","border-radius","10px","margin-bottom","10px",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],["type","button",1,"commander-btn",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"section",0)(1,"div",1),t.YNc(2,Z,1,0,"mat-progress-bar",2),t.TgZ(3,"div",3)(4,"div")(5,"h2",4),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"h2",4),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"h2",5),t._uU(12),t.ALo(13,"translate"),t.qZA()(),t.TgZ(14,"div",6)(15,"form",7)(16,"div",8),t._UZ(17,"span",9),t.TgZ(18,"input",10),t.NdJ("ngModelChange",function(l){return a.domain=l}),t.ALo(19,"translate"),t.ALo(20,"translate"),t.qZA(),t.YNc(21,L,3,3,"button",11),t.qZA()()()(),t._UZ(22,"div",12),t.TgZ(23,"div",13),t.YNc(24,U,7,7,"p",14),t.YNc(25,A,7,7,"p",15),t.YNc(26,M,3,3,"p",15),t.qZA(),t.YNc(27,E,9,5,"div",16),t._UZ(28,"div",17),t.TgZ(29,"div",18),t._UZ(30,"div",19),t.qZA()()()),2&r&&(t.xp6(2),t.Q6J("ngIf",a.loading),t.xp6(4),t.Oqu(t.lcZ(7,12,"register_domain_title")),t.xp6(3),t.Oqu(t.lcZ(10,14,"register_domain_sub_title")),t.xp6(3),t.Oqu(t.lcZ(13,16,"register_domain_description")),t.xp6(6),t.s9C("placeholder",t.lcZ(19,18,"search_placeholder")),t.s9C("placeholder",t.lcZ(20,20,"domainNameLabel")),t.Q6J("ngModel",a.domain),t.xp6(3),t.Q6J("ngIf",!a.loading),t.xp6(3),t.Q6J("ngIf",a.domIsAvailable),t.xp6(1),t.Q6J("ngIf",a.domIsNotAvailable),t.xp6(1),t.Q6J("ngIf",a.domError),t.xp6(1),t.Q6J("ngIf",a.domIsAvailable||a.domIsNotAvailable))},dependencies:[m._Y,m.YN,m.Kr,m.Fj,m.EJ,m.JJ,m.JL,m.Q7,m.On,m.F,e.sg,e.O5,O.pW,g.X$],styles:[".mat-dialog-container[_ngcontent-%COMP%]{background-color:#fff;padding:20px;border-radius:8px;box-shadow:0 4px 8px #0003;z-index:99}.domainStatus[_ngcontent-%COMP%]{color:#333;font-size:16px}.fontsize3[_ngcontent-%COMP%]{font-size:20px}.domcheckersuccess[_ngcontent-%COMP%]{color:#fff}.domcheckererror[_ngcontent-%COMP%]{color:#000}.mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;border-radius:4px;padding:10px;font-size:16px}.mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#0056b3}.commander-btn[_ngcontent-%COMP%]{display:block;width:100%;padding:12px 24px;font-size:16px;margin-top:5px;font-weight:700;color:#fff;background:linear-gradient(to right,#3e8350,#2b6b3c);border:none;border-radius:8px;
1cursor:pointer;box-shadow:0 4px 8px #0003;transition:all .3s ease-in-out}.commander-btn[_ngcontent-%COMP%]:hover{background:linear-gradient(to right,#58bc73,#44aa5f);transform:scale(.95);box-shadow:0 6px 12px #0000004d}.commander-btn[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 3px 6px #0003}.domain-info-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:20px;margin-top:10px}.status[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.available[_ngcontent-%COMP%]{color:#16a34a}.not-available[_ngcontent-%COMP%]{color:#dc2626}.periode-selection[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.periode-label[_ngcontent-%COMP%]{font-size:14px;font-weight:500;margin-bottom:4px}.periode-dropdown[_ngcontent-%COMP%]{padding:6px 12px;border:1px solid #2563eb;border-radius:6px;text-align:center;cursor:pointer;transition:all .3s ease}.periode-dropdown[_ngcontent-%COMP%]:hover{border-color:#2563eb}"]})}return n})();var _=s(8171);let N=(()=>{class n{constructor(i){this.translate=i,this.currentLanguage="fr",this.currentFlagClass="flag-icon flag-icon-fr",this.translate.setDefaultLang("fr")}getCurrentLanguage(){return this.currentLanguage}getCurrentFlagClass(){return this.currentFlagClass}toggleLanguage(i){"Fran\xe7ais/French"===i?(this.currentLanguage="Anglais/English",this.translate.use("en"),this.currentFlagClass="flag-icon flag-icon-gb"):(this.currentLanguage="Fran\xe7ais/French",this.translate.use("fr"),this.currentFlagClass="flag-icon flag-icon-fr")}switchLanguage(i){this.currentLanguage=i,"en"===i?this.currentFlagClass="flag-icon flag-icon-gb":"fr"===i&&(this.currentFlagClass="flag-icon flag-icon-fr"),this.translate.use(i)}static#t=this.\u0275fac=function(r){return new(r||n)(t.LFG(g.sK))};static#e=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var w=s(3053),S=s(515);function k(n,h){1&n&&(t.TgZ(0,"div",20)(1,"button",21),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"Se connecter")))}function D(n,h){1&n&&(t.TgZ(0,"div",20)(1,"button",22),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"S'enregistrer")))}function z(n,h){if(1&n){const i=t.EpF();t.TgZ(0,"div",23)(1,"button",24),t.NdJ("click",function(){t.CHM(i);const a=t.oxw();return t.KtG(a.logout())}),t._UZ(2,"i",25),t._uU(3),t.ALo(4,"translate"),t.qZA()()}2&n&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"SeDeconnecter")," "))}function J(n,h){1&n&&(t.TgZ(0,"button",26),t._UZ(1,"i",27),t.qZA())}function Y(n,h){1&n&&t._UZ(0,"app-footer")}const Q=[{path:"",component:(()=>{class n{constructor(i,r,a,d,l){this.translate=i,this.multiLanguage=r,this.router=a,this.appConfig=d,this.idle=l,this.searchParam=new u.T,this.idleState="",this.timedOut=!1,this.isSessionExpire=!1,this.page=1,this.pageSize=10,this.totalElements=0,localStorage.getItem("PmlUser")&&(this.currentUser=this.appConfig.currentUser),this.storedLanguage=localStorage.getItem("language"),this.storedFlagClass=localStorage.getItem("flagClass"),"en"===this.storedLanguage?(this.currentLanguage="Anglais/English",this.textLangue="Fran\xe7ais/French",this.currentFlagClass="flag-icon flag-icon-fr"):(this.currentLanguage="Fran\xe7ais/French",this.textLangue="Anglais/English",this.currentFlagClass="flag-icon flag-icon-gb");const C=localStorage.getItem("language"),q=localStorage.getItem("flagClass");C&&q?(this.currentLanguage="fr"===C?"Fran\xe7ais/French":"Anglais/English",this.translate.use(C)):(this.currentLanguage="Fran\xe7ais/French",this.translate.use("fr")),l.setIdle(900),l.setTimeout(5),l.setInterrupts(_.WO),l.onIdleEnd.subscribe(()=>{this.timedOut=!1,this.idleState="No longer idle."}),l.onTimeout.subscribe(()=>{this.idleState="Timed out!",this.timedOut=!0,this.logoutOnSessionExpire()}),l.onIdleStart.subscribe(()=>{this.isSessionExpire=!0,this.timedOut=!0,this.idleState="You've gone idle!",this.isSessionExpire=!0}),l.onTimeoutWarning.subscribe(W=>{this.idleState=`Votre session va expirer dans ${W} seconds`}),this.start()}ngOnInit(){}logoutOnSessionExpire(){localStorage.removeItem("PmlUser"),this.router.navigate(["/website/login"]).then(()=>{window.location.reload()})}start(){this.idle.watch(),this.idleState="Started.",this.timedOut=!1}currentFormat(i){return new Intl.NumberFormat("fr-FR",{style:"currency",currency:"XOF"}).format(i)}toggleLanguage(){"Fran\xe7ais/French"===this.currentLanguage?(this.currentLanguage="Anglais/English",this.translate.use("en"),this.currentFlagClass="flag-icon flag-icon-gb",localStorage.setItem("language","en"),localStorage.setItem("flagClass",this.currentFlagClass),window.location.reload()):(this.currentLanguage="Fran\xe7ais/French",this.translate.use("fr"),this.currentFlagClass="flag-icon flag-icon-fr",localStorage.setItem("language","fr"),localStorage.setItem("flagClass",this.currentFlagClass),window.location.reload())}logout(){const r="en"===(localStorage.getItem("language")||"fr")?"Are you sure you want to log out?":"\xcates-vous certain de vouloir vous d\xe9connecter ?";confirm(r)&&(localStorage.removeItem("PmlUser"),this.router.navigate(["/website/login"]).then(()=>{window.location.reload()}))}static#t=this.\u0275fac=function(r){return new(r||n)(t.Y36(g.sK),t.Y36(N),t.Y36(c.F0),t.Y36(w.X),t.Y36(_.hX))};static#e=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-header"]],decls:24,vars:8,consts:[[1,"navbar","navbar-expand-lg"],[1,"container"],["href","",1,"navbar-brand"],["src","assets/logos/logo.png","alt","",1,"logopoint"],[1,"d-block","d-lg-none"],[1,"custom-dropdown-button2",2,"text-align","center",3,"click"],[2,"margin","auto",3,"ngClass"],[1,"d-lg-none","ms-auto","me-4"],["href","#top",1,"navbar-icon","bi-pers
1on","smoothscroll"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarNav",1,"collapse","navbar-collapse"],[1,"navbar-nav","ms-lg-5","me-lg-auto"],["class","d-lg-block","style","margin-left: 15px;",4,"ngIf"],[1,"d-none","d-lg-block","custom-dropdown",2,"margin-left","15px"],[1,"custom-dropdown-button",3,"click"],[3,"ngClass"],["style","margin-left: 5px; z-index: 9999;color: red;",4,"ngIf"],["class","btn btn-success","routerLink","./espaceclient/settings",4,"ngIf"],[4,"ngIf"],[1,"d-lg-block",2,"margin-left","15px"],["routerLink","login",1,"form-control"],["routerLink","inscription",1,"form-control"],[2,"margin-left","5px","z-index","9999","color","red"],["type","button",1,"btn",3,"click"],[1,"bi","bi-box-arrow-right"],["routerLink","./espaceclient/settings",1,"btn","btn-success"],[1,"bi","bi-gear"]],template:function(r,a){1&r&&(t.TgZ(0,"nav",0)(1,"div",1)(2,"a",2)(3,"span"),t._UZ(4,"img",3),t.qZA()(),t.TgZ(5,"div",4)(6,"button",5),t.NdJ("click",function(){return a.toggleLanguage()}),t._UZ(7,"i",6),t.qZA()(),t.TgZ(8,"div",7),t._UZ(9,"a",8),t.qZA(),t.TgZ(10,"button",9),t._UZ(11,"span",10),t.qZA(),t.TgZ(12,"div",11)(13,"ul",12),t.YNc(14,k,4,3,"div",13),t.YNc(15,D,4,3,"div",13),t.qZA(),t.TgZ(16,"div",14)(17,"button",15),t.NdJ("click",function(){return a.toggleLanguage()}),t._UZ(18,"i",16),t._uU(19),t.qZA()(),t.YNc(20,z,5,3,"div",17),t.YNc(21,J,2,0,"button",18),t.qZA()()(),t._UZ(22,"router-outlet"),t.YNc(23,Y,1,0,"app-footer",19)),2&r&&(t.xp6(7),t.Q6J("ngClass",a.currentFlagClass),t.xp6(7),t.Q6J("ngIf",!a.currentUser),t.xp6(1),t.Q6J("ngIf",!a.currentUser),t.xp6(3),t.Q6J("ngClass",a.currentFlagClass),t.xp6(1),t.hij(" ",a.textLangue," "),t.xp6(1),t.Q6J("ngIf",a.currentUser),t.xp6(1),t.Q6J("ngIf",a.currentUser),t.xp6(2),t.Q6J("ngIf",!(a.currentUser||null!=a.currentUser&&a.currentUser.id)))},dependencies:[e.mk,e.O5,c.lC,c.rH,S.c,g.X$],styles:[".logopoint[_ngcontent-%COMP%]{width:100px}.custom-dropdown[_ngcontent-%COMP%]{border-radius:5px;background-color:#80d0c7}.btn-custom[_ngcontent-%COMP%]{background-color:#80d0c7;color:#fff;border:none;border-radius:5px;display:flex;align-items:center}.btn-custom[_ngcontent-%COMP%]:hover, .btn-custom[_ngcontent-%COMP%]:focus{background-color:#6fb8ae;color:#fff}.flag-icon[_ngcontent-%COMP%]{margin-right:8px}.custom-dropdown-button[_ngcontent-%COMP%]{background-color:#12854b;color:#fff;border:none;padding:10px 15px;border-radius:5px;cursor:pointer;font-size:16px;display:flex;align-items:center}.custom-dropdown-button[_ngcontent-%COMP%]:hover{background-color:#eaffa3;color:#000}.custom-dropdown-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:8px}.custom-dropdown-button2[_ngcontent-%COMP%]{background-color:#fff;color:#fff;border:none;padding:10px;border-radius:5px;cursor:pointer;font-size:16px;display:flex;align-items:center}.custom-dropdown-button2[_ngcontent-%COMP%]:hover{background-color:#eaffa3;color:#000}.custom-dropdown-button2[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:8px}@media (max-width: 992px){.custom-dropdown[_ngcontent-%COMP%]{display:block}}"]})}return n})(),children:[{path:"",component:R},{path:"content",loadChildren:()=>s.e(266).then(s.bind(s,7266)).then(n=>n.ContentModule),canActivate:[s(4419).a]},{path:"login",loadChildren:()=>Promise.all([s.e(592),s.e(631)]).then(s.bind(s,8631)).then(n=>n.LoginModule)},{path:"remote-log",loadChildren:()=>Promise.all([s.e(592),s.e(946)]).then(s.bind(s,4946)).then(n=>n.LoginAdminModule)},{path:"inscription",loadChildren:()=>Promise.all([s.e(592),s.e(955)]).then(s.bind(s,5955)).then(n=>n.InscriptionModule)},{path:"espaceclient",loadChildren:()=>Promise.all([s.e(592),s.e(60)]).then(s.bind(s,9060)).then(n=>n.EspaceclientModule)}]}];let H=(()=>{class n{static#t=this.\u0275fac=function(r){return new(r||n)};static#e=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[c.Bz.forChild(Q),c.Bz]})}return n})(),K=(()=>{class n{static#t=this.\u0275fac=function(r){return new(r||n)};static#e=this.\u0275mod=t.oAB({type:n});static#n=this.\u0275inj=t.cJS({imports:[e.ez,H]})}return n})()}}]);
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.