PageSourceSearch

https://www.clikodoc.com/chunk-6FO3EZ6X.js

js clikodoc.com collected 2026-10-02 15:22:16 UTC 11,019 bytes, 1 lines download raw bytes

1import{a as wt}from"./chunk-6QGMT6BU.js";import{a as St}from"./chunk-5JYVPT64.js";import{a as Dt}from"./chunk-TNUYI5D2.js";import{b as It}from"./chunk-HGWQEY5X.js";import{c as bt}from"./chunk-SWXVRSYG.js";import{b as Ct}from"./chunk-62SROWCZ.js";import{a as vt,d as gt}from"./chunk-JSADYM7U.js";import{e as xt}from"./chunk-QN3C3JBS.js";import{a as ut}from"./chunk-UKR5OZGK.js";import{b as _t}from"./chunk-J2LP754D.js";import{c as ht}from"./chunk-4PQWGGVL.js";import{d as dt}from"./chunk-HTKZ2MRM.js";import{b as st}from"./chunk-GA4V4KUG.js";import{b as Mt}from"./chunk-76MUYBKL.js";import{b as ft}from"./chunk-U4GJVFX3.js";import{b as at}from"./chunk-WIUJAF76.js";import{g as nt,j as rt}from"./chunk-PLJOCKL2.js";import{j as Q,n as X}from"./chunk-EWZZCNL2.js";import"./chunk-6ZLDBIST.js";import{d as pt}from"./chunk-24MWP4UU.js";import{g as N}from"./chunk-O5J5YMMC.js";import{b as tt,c as et}from"./chunk-KRIAO6QJ.js";import{a as lt}from"./chunk-NYWXLI4U.js";import"./chunk-2IURLDKA.js";import{a as Y,f as Z}from"./chunk-42KGAGL2.js";import"./chunk-NY4RBHJF.js";import{b as it}from"./chunk-YQJGS37C.js";import"./chunk-BKXXNFNY.js";import{a as Tt}from"./chunk-AM7URZDU.js";import{a as ot}from"./chunk-HF6KAANO.js";import{A as q,x as U,z as $}from"./chunk-TZCZQJJO.js";import{a as mt,b as ct}from"./chunk-CYTQM7OA.js";import{$ as K}from"./chunk-M55MF244.js";import{b as W,d as G,e as J,h as C}from"./chunk-F5GJAPD3.js";import{a as H,c as R,m as V,o as z}from"./chunk-44ZWPMA3.js";import{Cb as P,Dd as E,Ec as p,Gc as l,Hc as D,Jb as M,Jd as F,Tb as _,Uc as s,Vc as m,_b as g,bd as j,ca as w,dc as o,eb as S,ec as n,fc as h,g as b,ia as f,jc as k,lb as i,mb as u,mc as T,oc as x,ta as L,ua as y,va as B,wa as A,yd as O}from"./chunk-RFW4ZZRK.js";import{g as kt}from"./chunk-WWX6BADO.js";var v=kt(Tt());var Lt=(()=>{class e{constructor(){this._httpClient=f(R)}getRequestOptionsWithoutObserver(){return{headers:new H({Accept:"application/json"}),withCredentials:!0}}getAptLiteDetailsByCode(t){var a=`//${C.API_URL}/api/getAptLiteDetailsByCode`,r={code:t};return this._httpClient.post(`${a}`,r,this.getRequestOptionsWithoutObserver())}cancelAptLiteFromLink(t){var a=`//${C.API_URL}/api/cancelAptLiteFromLink`;return this._httpClient.post(`${a}`,t,this.getRequestOptionsWithoutObserver())}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ot(e,c){if(e&1&&(o(0,"div",15)(1,"div",16),p(2),s(3,"transloco"),h(4,"span",18),n()()),e&2){let t=x(3);i(2),l(" ",m(3,2,"apt_info_lite_page_Component.payment_methods")," "),i(2),_("innerHtml",t.pageData.payment_method_text,S)}}function Et(e,c){if(e&1){let t=k();o(0,"div",15)(1,"button",19),T("click",function(){L(t);let r=x(3);return y(r.cancelApt())}),o(2,"mat-icon",20),B(),o(3,"svg",21),h(4,"path",22),n()(),A(),o(5,"span",23),p(6),s(7,"transloco"),n()()()}e&2&&(i(6),l(" ",m(7,1,"apt_info_lite_page_Component.btn_cancel_appointment")," "))}function Ft(e,c){e&1&&(o(0,"div",15)(1,"div",16),p(2),s(3,"transloco"),n()()),e&2&&(i(2),l(" ",m(3,1,"apt_info_lite_page_Component.appointment_noshow")," "))}function Ht(e,c){e&1&&(o(0,"div",15)(1,"div",16),p(2),s(3,"transloco"),n()()),e&2&&(i(2),l(" ",m(3,1,"apt_info_lite_page_Component.appointment_already_canceled")," "))}function Rt(e,c){if(e&1&&(o(0,"div",15)(1,"div",16),h(2,"span",24),n()()),e&2){let t=x(3);i(2),_("innerHtml",t.pageData.apt.info_for_patients,S)}}function Vt(e,c){if(e&1&&(o(0,"div",14)(1,"div",15)(2,"div",16),p(3),s(4,"transloco"),o(5,"span",17),p(6),n()()(),o(7,"div",15)(8,"div",16),p(9),s(10,"transloco"),o(11,"span",17),p(12),n()()(),o(13,"div",15)(14,"div",16),p(15),s(16,"transloco"),o(17,"span",17),p(18),n()()(),o(19,"div",15)(20,"div",16),p(21),s(22,"transloco"),o(23,"span",17),p(24),n()()(),M(25,Ot,5,4,"div",15)(26,Et,8,3,"div",15)(27,Ft,4,3,"div",15)(28,Ht,4,3,"div",15)(29,Rt,3,1,"div",15),n()),e&2){let t=x(2);i(3),l(" ",m(4,15,"apt_info_lite_page_Component.date_time")," "),i(3),D(" ",t.pageData.apt.apt_date_display," ",t.pageData.apt.timings," "),i(3),l(" ",m(10,17,"apt_info_lite_page_Component.patient_name")," "),i(3),l(" ",t.pageData.apt.pat_name," "),i(3),l(" ",m(16,19,"apt_info_lite_page_Component.doctor_name")," "),i(3),D(" ",t.pageData.apt.title," ",t.pageData.apt.doctor_name," "),i(3),l(" ",m(22,21,"apt_info_lite_page_Component.apt_type_name")," "),i(3),l(" ",t.pageData.apt.type_name," "),i(),g(t.pageData.payment_method_text&&t.pageData.payment_method_text!=""?25:-1),i(),g(t.pageData.apt.status!="Canceled"&&t.pageData.apt.status!="NoShow"?26:-1),i(),g(t.pageData.apt.status=="NoShow"?27:-1),i(),g(t.pageData.apt.status=="Canceled"?28:-1),i(),g(t.pageData.apt&&t.pageData.apt.info_for_patients&&t.pageData.apt.info_for_patients!=""?29:-1)}}function zt(e,c){e&1&&(o(0,"div",25)(1,"div",16),p(2),s(3,"transloco"),n()()),e&2&&(i(2),l(" ",m(3,1,"apt_info_lite_page_Component.no_appointment_found")," "))}function Ut(e,c){e&1&&(o(0,"div",25)(1,"div",16),p(2),s(3,"transloco"),n()()),e&2&&(i(2),l(" ",m(3,1,"apt_info_lite_page_Component.no_appointment_found")," "))}function $t(e,c){if(e&1&&(o(0,"div",11),M(1,Vt,30,23,"div",12)(2,zt,4,3,"div",13)(3,Ut,4,3,"div",13),n()),e&2){let t=x();i(),_("ngIf",t.pageData&&t.pageData.apt_found&&t.pageData.apt_found==1&&t.pageData.apt),i(),_("ngIf",t.pageData&&t.pageData.apt_found&&t.pageData.apt_found==0),i(),_("ngIf",!t.pageData||!t.pageData.apt_found)}}var yt=(()=>{class e{constructor(t,a,r,d,Bt,At){if(this.authService=t,this.translocoService=a,this.route=r,this.router=d,this._matSnackBar=Bt,this.fb=At,this.apiService=f(Lt),this._changeDetectorRef=f(j),this._dateLocaleService=f(Dt),this.loader=f(ot),this.APP_HOME=C.APP_HOME,this.selectedLanguage="fr",this.pageData={},this.is_user_logged_id=!1,this.transactionId="",this.utm_mdium="",this.co
1de="",this.isDataLoadedSubject=new b(!1),this.isDataLoaded$=this.isDataLoadedSubject.asObservable(),this.authService.currentUserValue){var Pt=this.authService.currentUserValue;this.user=Pt,this.is_user_logged_id=!0}this.route.queryParams.subscribe(I=>{I.s&&I.s!=""&&(this.utm_mdium=I.s)}),this.selectedLanguage=this.translocoService.getActiveLang(),this.setLuxonLocale()}ngOnInit(){this.isDataLoadedSubject.next(!1),this.loader.show("Chargement en cours. Veuillez patienter\u2026"),this.sub=this.route.params.subscribe(t=>{t.code&&t.code!=""&&(this.code=t.code),console.log("params ",this.code),this.authService.getCSRFTokenForHome().subscribe(a=>{this.getAptDetails(),this.loader.hide()})})}getAptDetails(){this.loader.show("Chargement en cours. Veuillez patienter\u2026"),this.apiService.getAptLiteDetailsByCode(this.code).subscribe(t=>{this.pageData=t,this.loader.hide(),this.isDataLoadedSubject.next(!0),this._changeDetectorRef.markForCheck()})}cancelApt(){let t="Annuler le rendez-vous",a=this.pageData.apt_msg_cancel?this.pageData.apt_msg_cancel:"";v.default.fire({icon:"info",title:t,html:a,showCancelButton:!0,cancelButtonText:"Annuler",confirmButtonText:"Oui",showLoaderOnConfirm:!0,allowOutsideClick:!1,allowEscapeKey:!1,reverseButtons:!0,preConfirm:()=>(v.default.getCancelButton().style.display="none",new Promise(()=>{this.apiService.cancelAptLiteFromLink({code:this.pageData.apt.uuid}).subscribe(r=>{r&&r.status=="success"?v.default.fire({title:"Super",html:"Votre rendez-vous a bien \xE9t\xE9 annul\xE9",icon:"success",showCancelButton:!1,confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then(d=>{d.isConfirmed&&this.router.navigate(["/home"])}):r&&r.status=="error"&&r.msg&&r.msg!=""?v.default.fire({title:this.translocoService.translate("common.title_error"),html:r.msg,icon:"error",showCancelButton:!1,confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then(d=>{d.isConfirmed&&this.router.navigate(["/home"])}):v.default.fire({title:this.translocoService.translate("common.title_error"),html:this.translocoService.translate("common.something_went_wrong_try_again"),icon:"error",showCancelButton:!1,confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then(d=>{d.isConfirmed&&this.router.navigate(["/home"])})})}))}).then(r=>{v.default.close()})}notyMessageError(t,a){this._matSnackBar.open(t,"OK",{verticalPosition:"top",horizontalPosition:"end",duration:5e3})}showMenuItem(t){var a=!1;return this.user&&t&&parseInt(t)>0&&(a=St.isAccess(this.user,parseInt(t))),a}
1setLuxonLocale(){pt.local().setLocale(this.selectedLanguage)}static{this.\u0275fac=function(a){return new(a||e)(u(it),u(W),u(V),u(z),u(lt),u(U))}}static{this.\u0275cmp=P({type:e,selectors:[["app-apt-info-lite-page"]],decls:15,vars:6,consts:[[1,"mt-0","mb-0","block"],[1,"bg-white","mb-20","md:mb-16"],[1,"mx-auto","max-w-[1200px]","md:px-4","pt-4","md:pb-4"],[1,"mx-auto","max-w-full","sm:max-w-[600px]","px-4","pt-4","pb-4"],[1,"grid","grid-cols-1","gap-4"],[1,"col-span-12"],[1,"w-full","flex","flex-col","gap-[8px]"],[1,"w-full","flex","flex-initial","justify-center","items-center"],[1,"w-full","text-center","text-tertiary-500","text-base","md:text-lg","font-bold","font-['Montserrat']","leading-6"],[1,"doc_tabs","doctors_profile","col-span-12"],["class","rounded-[12px] border border-slate-200 bg-white p-4 md:p-4",4,"ngIf"],[1,"rounded-[12px]","border","border-slate-200","bg-white","p-4","md:p-4"],["class","w-full flex flex-col md:flex-col justify-start items-start gap-4",4,"ngIf"],["class","w-full flex flex-col md:flex-row justify-start items-start gap-4",4,"ngIf"],[1,"w-full","flex","flex-col","md:flex-col","justify-start","items-start","gap-4"],[1,"w-full","flex","flex-initial"],[1,"justify-start","text-info-label"],[1,"text-info-value"],[1,"text-info-value",3,"innerHtml"],["mat-stroked-button","",1,"nova-square-button-error",3,"click"],[1,"text-[#B42318]"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"size-5"],["stroke-linecap","round","stroke-linejoin","round","d","m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"],[1,"ml-2","mr-1"],[3,"innerHtml"],[1,"w-full","flex","flex-col","md:flex-row","justify-start","items-start","gap-4"]],template:function(a,r){a&1&&(h(0,"mat-divider",0),o(1,"section",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8),p(9),s(10,"transloco"),n()()()(),o(11,"div",9),M(12,$t,4,3,"div",10),s(13,"async"),n()()()()(),h(14,"home-footer")),a&2&&(i(9),l(" ",m(10,2,"apt_info_lite_page_Component.page_title")," "),i(3),_("ngIf",m(13,4,r.isDataLoaded$)))},dependencies:[F,O,E,$,q,dt,xt,N,st,ft,Z,Y,ut,_t,et,tt,K,nt,vt,gt,Q,X,ht,at,rt,bt,J,G,Ct,Mt,It,wt,ct,mt],styles:["[_nghost-%COMP%]{display:block;background:#fff}"]})}}return e})();var Ue=[{path:"",component:yt}];export{Ue as default};

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.