"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9681],{56773:(g,c,t)=>{t.d(c,{V:()=>m});var i=t(54438),u=t(36375);let m=(()=>{var n;class s{constructor(){this.reloadPage=!0}ngOnInit(){}handleRefresh(o){setTimeout(()=>{this.reloadPage&&location.reload(),o.target.complete()},1e3)}}return(n=s).\u0275fac=function(o){return new(o||n)},n.\u0275cmp=i.VBU({type:n,selectors:[["app-page-refresher"]],inputs:{reloadPage:"reloadPage"},decls:3,vars:0,consts:[["slot","fixed",2,"margin-top","70px",3,"ionRefresh"]],template:function(o,h){1&o&&(i.j41(0,"div")(1,"ion-refresher",0),i.bIt("ionRefresh",function(e){return h.handleRefresh(e)}),i.nrm(2,"ion-refresher-content"),i.k0s()())},dependencies:[u.To,u.Ki]}),s})()},62945:(g,c,t)=>{t.r(c),t.d(c,{MyConsultationsPage:()=>p});var i=t(60177),u=t(89417),m=t(36375),n=t(27803),s=t(54438),d=t(22629),o=t(56773);function h(e,r){if(1&e&&s.nrm(0,"app-media-player",2),2&e){const a=s.XpG();s.Y8G("isBatchPriceVisible",!1)("isContactButtonVisible",!1)("isSubscribeButtonVisible",!1)("istrainerDataPriceVisible",!1)("isCommonVisible",!1)("isSubscribeVisible",!1)("istrainerDataVisible",!1)("shouldStopAudio",a.shouldStopAudio)("isConsultationsVisible",!0)}}let p=(()=>{var e;class r{constructor(){this.showPlayer=!0}ngOnInit(){}ionViewWillEnter(){this.showPlayer=!0}ionViewWillLeave(){this.showPlayer=!1}}return(e=r).\u0275fac=function(l){return new(l||e)},e.\u0275cmp=s.VBU({type:e,selectors:[["app-my-consultations"]],standalone:!0,features:[s.Jv_([n.G]),s.aNF],decls:3,vars:1,consts:[[1,"mobile",2,"height","100%"],[3,"isBatchPriceVisible","isContactButtonVisible","isSubscribeButtonVisible","istrainerDataPriceVisible","isCommonVisible","isSubscribeVisible","istrainerDataVisible","shouldStopAudio","isConsultationsVisible",4,"ngIf"],[3,"isBatchPriceVisible","isContactButtonVisible","isSubscribeButtonVisible","istrainerDataPriceVisible","isCommonVisible","isSubscribeVisible","istrainerDataVisible","shouldStopAudio","isConsultationsVisible"]],template:function(l,f){1&l&&(s.j41(0,"div",0),s.nrm(1,"app-page-refresher"),s.DNE(2,h,1,9,"app-media-player",1),s.k0s()),2&l&&(s.R7$(2),s.Y8G("ngIf",f.showPlayer))},dependencies:[m.bv,i.MD,i.bT,u.YN,n.G,d.l,o.V]}),r})()},4417:(g,c,t)=>{t.d(c,{W:()=>d});var i=t(10467);const m=(0,t(15083).F3)("Toast",{web:()=>t.e(2771).then(t.bind(t,22771)).then(o=>new o.ToastWeb)});var n=t(54438),s=t(36375);let d=(()=>{var o;class h{constructor(e,r,a){this.toastController=e,this.loadingController=r,this.popoverController=a}presentToast(e,r,a){var l=this;return(0,i.A)(function*(){const f=yield l.toastController.create({message:r,duration:2e3,position:"top",cssClass:`custom-toast custom-toast-${e}`,icon:a,positionAnchor:"header",animated:!0});f.present(),setTimeout((0,i.A)(function*(){const P=yield l.toastController.getTop();P&&(P.style.animation="toastExit 0.4s ease-in forwards",setTimeout(()=>f.dismiss(),400))}),2e3)})()}presentError(e,r){var a=this;return(0,i.A)(function*(){(yield a.toastController.create({color:e,message:r,duration:3e3})).present()})()}showLoader(){this.loadingController.create({message:"Please wait..."}).then(e=>{e.present()})}hideLoader(){this.loadingController.dismiss().then(e=>{console.log("Loading dismissed!",e)}).catch(e=>{console.log("error",e)})}showToast(e){return(0,i.A)(function*(){yield m.show({text:e,duration:"long",position:"top"})})()}goBack(){window.history.back()}}return(o=h).\u0275fac=function(e){return new(e||o)(n.KVO(s.K_),n.KVO(s.Xi),n.KVO(s.IE))},o.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}),h})()}}]);