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