PageSourceSearch

https://app.deinepflege.de/6054.7ce379ff9c776ed5.js

js deinepflege.de collected 2026-10-05 04:57:45 UTC 63,576 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6054],{23902:(F,y,p)=>{p.r(y),p.d(y,{Task3Module:()=>Re});var u=p(60177),S=p(4526),g=p(75386),f=p(89417),C=p(51188),a=p(10467),b=p(76111),k=p(86099),e=p(17705),v=p(70692),T=p(38765),o=p(67558),m=p(73955);function M(i,l){if(1&i&&(e.j41(0,"ion-text",21),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",e.bMT(2,1,"authenticated.processes."+t.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.start.content.titleReschedule")," ")}}function $(i,l){if(1&i&&(e.j41(0,"ion-text",21),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",e.bMT(2,1,"authenticated.processes."+t.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.start.content.titleNew")," ")}}function z(i,l){if(1&i&&(e.nrm(0,"p",22),e.nI1(1,"translate")),2&i){const t=e.XpG();e.Y8G("innerHTML",e.bMT(1,1,"authenticated.processes."+t.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.start.content.descriptionReschedule"),e.npT)}}function G(i,l){if(1&i&&(e.nrm(0,"p",22),e.nI1(1,"translate")),2&i){const t=e.XpG();e.Y8G("innerHTML",e.bMT(1,1,"authenticated.processes."+t.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.start.content.descriptionNew"),e.npT)}}function Y(i,l){if(1&i){const t=e.RV6();e.j41(0,"ion-button",23),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.startTask())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&i&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"common.buttons.startTask")," "))}function L(i,l){if(1&i){const t=e.RV6();e.j41(0,"ion-button",23),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.startTask())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&i&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"common.buttons.continueTask")," "))}let B=(()=>{class i{constructor(t,r,n,s,c,h){this.processSrv=t,this.processApiSrv=r,this.loadingController=n,this.modalController=s,this.routerOutlet=c,this.translate=h}ngOnInit(){var t=this;return(0,a.A)(function*(){t.setupUI().then()})()}ionViewWillEnter(){this.setupUI().then()}setupUI(){var t=this;return(0,a.A)(function*(){if(t.taskStatus=t.processSrv.getSelectedTask().status,t.careLevelAssessmentInfo=t.processSrv.getCareLevelAppointmentInfo(),null===t.careLevelAssessmentInfo){const n=(yield t.translate.get(["common.phrases.pleaseWait"]).toPromise())["common.phrases.pleaseWait"],s=yield t.loadingController.create({message:n});yield s.present();try{const c=yield t.processApiSrv.getCareLevelAppointmentInfo(t.processSrv.getId());t.processSrv.initialiseCareLevelAppointmentInfo(c),yield s.dismiss()}catch{yield s.dismiss(),yield t.processSrv.navigateToOverview()}}null===t.processSrv.getCareLevelAppointmentInfo()&&t.processSrv.initialiseCareLevelAppointmentInfo(new k.cx)})()}goToOverview(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}startTask(){var t=this;return(0,a.A)(function*(){t.taskStatus===b.e.open&&t.processSrv.isProcessModifiable()&&(yield t.processSrv.sendTaskToInProgress()),yield t.processSrv.navigateToPage("enter-or-reschedule"),t.taskStatus=t.processSrv.getSelectedTask().status})()}getTaskStatusEnum(){return b.e}isRescheduleOnGoing(){return this.taskStatus===b.e.inProgress&&""!==this.careLevelAssessmentInfo?.rescheduleRequestDateTime}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(T.q),e.rXU(o.Xi),e.rXU(o.W3),e.rXU(o.Rg),e.rXU(m.c$))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-start"]],decls:32,vars:14,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],[3,"fullscreen"],[1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12"],["style","font-weight: 700; font-size: 20px;",4,"ngIf","ngIfElse"],["noRescheduleOngoingTitle",""],["name","time-outline","color","primary",2,"vertical-align","middle","height","17px","width","17px","padding-right","4px"],["color","primary",2,"vertical-align","middle","font-weight","700","font-size","12px"],[1,"ion-padding",2,"padding-top","0px"],["style","font-weight: 400; font-size: 16px;",3,"innerHTML",4,"ngIf","ngIfElse"],["noRescheduleOngoingDescription",""],[1,"ion-no-border"],["color","none"],[1,"ion-justify-content-center"],[1,"ion-text-center"],["size","12","size-md","6","offset-md","3"],["class","nextAction","expand","block",3,"click",4,"ngIf"],[2,"font-weight","700","font-size","20px"],[2,"font-weight","400","font-size","16px",3,"innerHTML"],["expand","block",1,"nextAction",3,"click"]],template:function(r,n){if(1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goToOverview()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"ion-content",4)(8,"ion-grid",5)(9,"ion-row",6)(10,"ion-col",7),e.DNE(11,M,3,3,"ion-text",8),e.DNE(12,$,3,3,"ng-template",null,9,e.C5r),e.k0s(),e.j41(14,"ion-col"),e.nrm(15,"ion-icon",10),e.j41(16,"ion-text",11),e.EFF(17),e.nI1(18,"translate"),e.k0s()()(),e.j41(19,"ion-row",12)(20,"ion-col")(21,"ion-text"),e.DNE(22,z,2,3,"p",13),e.DNE(23,G,2,3,"ng-template",null,14,e.C5r),e.k0s()()()()(),e.j41(25,"ion-footer",15)(26,"ion-toolbar",16)(27,"ion-grid",17)(28,"ion-row",18)(29,"ion-col",19),e.DNE(30,Y,3,3,"ion-button",20),e.DNE(31,L,3,3,"ion-button",20),e.k0s()()()()()),2&r){const s=e.sdS(13),c=e.sdS(24);e.R7$(5),e.JRh(e.bMT(6,10,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.start.header.title")),e.R7$(2),e.Y8G("fullscreen",!0),e.R7$(4),e.Y8G("ngIf",n.isRescheduleOnGoing())("ngIfElse",s),e.R7$(6),e.Lme("",n.processSrv.getSelectedTask().duration," ",e.bMT(18,12,"common.terms.minutes")," "),e.R7$(5),e.Y8G("ngIf",n.isRescheduleOnGoing())("ngIfElse",c),e.R7$(8),e.Y8G("ngIf",n.taskStatus===n.getTaskStatusEnum().open),e.R7$(1),e.Y8G("ngIf",n.taskStatus===n.getTaskStatusEnum().inProgress)}},dependencies:[u.bT,o.el,o.Jm,o.QW,o.hU,o.W9,o.M0,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,m.D9]})}}return i})();const H=function(i,l){return{startDate:i,endDate:l}};let X=(()=>{class i{constructor(t,r,n,s){this.processSrv=t,this.processApiSrv=r,this.translate=n,this.loadingController=s}ngOnInit(){this.setupUI().then()}ionViewWillEnter(){this.setupUI().then()}setupUI(){var t=this;return(0,a.A)(function*(){if(t.careLevelAssessmentInfo=t.processSrv.getCareLevelAppointmentInfo(),null===t.careLevelAssessmentInfo){const n=(yield t.translate.get(["common.phrases.pleaseWait"]).toPromise())["common.phrases.pleaseWait"],s=yield t.loadingController.create({message:n});yield s.present();try{t.careLevelAssessmentInfo=yield t.processApiSrv.getCareLevelAppointmentInfo(t.processSrv.getId()),t.processSrv.initialiseCareLevelAppointmentInfo(t.careLevelAssessmentInfo),yield s.dism
1iss()}catch{yield s.dismiss(),yield t.processSrv.navigateToOverview()}}null===t.processSrv.getCareLevelAppointmentInfo()&&(yield t.processSrv.navigateToOverview())})()}goToOverview(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}getTypeName(){return this.processSrv.getTypeName()}adjustAppointment(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToPage("enter-date-time")})()}rescheduleAppointment(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToPage("medical-service")})()}getLocationType(){return k.iF}onNext(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToUserSelection({step:2,substep:0})})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(T.q),e.rXU(m.c$),e.rXU(o.Xi))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-completed"]],decls:35,vars:32,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],[3,"fullscreen"],[1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12",1,"ion-text-center"],[2,"font-weight","700","font-size","20px"],[2,"font-weight","700"],[3,"innerHTML"],[1,"ion-padding",2,"position","absolute","bottom","0px","left","0px","right","0px","padding-left","0px","padding-right","0px","padding-bottom","40px"],[1,"ion-padding"],[2,"padding-bottom","30px"],["expand","block",3,"color","click"],["expand","block","fill","outline",1,"ion-margin-top",3,"color","click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goToOverview()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"ion-content",4)(8,"ion-grid",5)(9,"ion-row",6)(10,"ion-col",7)(11,"ion-text",8),e.EFF(12),e.nI1(13,"translate"),e.k0s()()(),e.j41(14,"ion-row",6),e.nrm(15,"ion-col",7),e.k0s(),e.j41(16,"ion-row",6)(17,"ion-col",7)(18,"ion-text",9),e.EFF(19),e.nI1(20,"date"),e.k0s()(),e.j41(21,"ion-col",7),e.nrm(22,"ion-text",10),e.nI1(23,"translate"),e.nI1(24,"date"),e.nI1(25,"date"),e.k0s()()(),e.j41(26,"ion-grid",11)(27,"ion-row",12)(28,"ion-col",13)(29,"ion-button",14),e.bIt("click",function(){return n.adjustAppointment()}),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.j41(32,"ion-button",15),e.bIt("click",function(){return n.rescheduleAppointment()}),e.EFF(33),e.nI1(34,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,9,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.completed.header.title")),e.R7$(2),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(13,11,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.completed.content.title")," "),e.R7$(7),e.SpI(" ",e.i5U(20,13,null==n.careLevelAssessmentInfo?null:n.careLevelAssessmentInfo.startDateTime,"dd.MM.YYYY")," "),e.R7$(3),e.Y8G("innerHTML",e.i5U(23,16,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.completed.content.appointmentTime",e.l_i(29,H,e.i5U(24,19,null==n.careLevelAssessmentInfo?null:n.careLevelAssessmentInfo.startDateTime,"HH:mm"),e.i5U(25,22,null==n.careLevelAssessmentInfo?null:n.careLevelAssessmentInfo.endDateTime,"HH:mm"))),e.npT),e.R7$(7),e.Y8G("color","primary"),e.R7$(1),e.SpI(" ",e.bMT(31,25,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.completed.content.btnAdjustAppointment")," "),e.R7$(2),e.Y8G("color","primary"),e.R7$(1),e.SpI(" ",e.bMT(34,27,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.completed.content.btnRescheduleAppointment")," "))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.ln,o.IO,o.BC,o.ai,o.tY,u.vh,m.D9]})}}return i})();var I=p(3213);let W=(()=>{class i{constructor(t){this.processSrv=t,this.listModel=[],this.selectedOption=-1,this.showError=!1}ngOnInit(){this.listModel.push({text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.enterLocation.selectionItems.home",isSelected:!1},{text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.enterLocation.selectionItems.phone",isSelected:!1})}ionViewWillEnter(){this.careLevelAppointmentInfo=this.processSrv.getCareLevelAppointmentInfo()}onClose(){var t=this;return(0,a.A)(function*(){t.processSrv.resetCareLevelAppointmentInfo(),yield t.processSrv.navigateToOverview()})()}itemSelected(t){var r=this;return(0,a.A)(function*(){r.selectedOption=t,r.showError=!1})()}onNext(){var t=this;return(0,a.A)(function*(){-1===t.selectedOption?t.showError=!0:(t.showError=!1,t.processSrv.setCareLevelAppointmentInfo(t.careLevelAppointmentInfo),yield t.processSrv.navigateToPage("summary"))})()}getTypeName(){return this.processSrv.getTypeName()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-enter-appointment-location"]],decls:25,vars:14,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[3,"fullscreen"],[1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12",1,"ion-padding-horizontal"],[2,"font-weight","700","font-size","20px"],[1,"ion-padding"],[3,"list","selectionType","showError","itemClicked"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["size","12"],["expand","block",3,"color","click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content",7)(11,"ion-grid",8)(12,"ion-row",9)(13,"ion-col",10)(14,"ion-text",11),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()(),e.j41(17,"div",12)(18,"app-selection-list",13),e.bIt("itemClicked",function(c){return n.itemSelected(c)}),e.k0s()(),e.j41(19,"ion-grid")(20,"ion-row",14)(21,"ion-col",15)(22,"ion-button",16),e.bIt("click",function(){return n.onNext()}),e.EFF(23),e.nI1(24,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,8,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.enterLocation.header")),e.R7$(5),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(16,10,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.enterLocation.title")," "),e.R7$(3),e.Y8G("list",n.listModel)("selectionType","single")("showError",n.showError),e.R7$(4),e.Y8G("color",-1===n.selectedOption?"disabled":"primary"),e.R7$(1),e.SpI(" ",e.bMT(24,12,"common.buttons.continue")," "))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,I.Y,m.D9]})}}return i})();
1const V=function(i,l){return{"time-error":i,"time-input":l}};let J=(()=>{class i{constructor(t,r){this.translate=t,this.pickerController=r,this.timeChange=new e.bkB}ngOnInit(){return(0,a.A)(function*(){})()}ngOnChanges(t){t?.showPlaceholder?.currentValue&&(this.showPlaceholder=t.showPlaceholder.currentValue)}showPicker(){var t=this;return(0,a.A)(function*(){const r=yield t.translate.get(["common.buttons.cancel","common.buttons.confirm"]).toPromise(),n=r["common.buttons.cancel"],s=r["common.buttons.confirm"];t.pickerDataSource=t.createPickerDataSource(t.time),t.picker=yield t.pickerController.create({columns:t.pickerDataSource,buttons:[{text:n,role:"cancel"},{text:s,handler:c=>{const h=t.time.indexOf("T")+1,_=1===c.hour.value.toString().length?"0"+c.hour.value:c.hour.value,d=1===c.minute.value.toString().length?"0"+c.minute.value:c.minute.value,Fe=t.time.substr(0,h)+_+":"+d+t.time.substr(h+5);t.timeChange.emit(Fe)}}]}),t.picker.present()})()}createPickerDataSource(t){const r=Number(t.substring(11,13)),n=Number(t.substring(14,16)),s=[],c=[];let h=0,_=0;for(let d=0;d<24;d++)s.push({text:d.toString(),value:d});for(let d=0;d<60;d+=5)c.push({text:d.toString(),value:d});for(let d=0;d<s.length;d++){if(s[d].value===r){h=d;break}if(d+1<s.length&&s[d+1].value>r){h=d;break}}for(let d=0;d<c.length;d++){if(c[d].value===n){_=d;break}if(d+1<c.length&&c[d+1].value>n){_=d;break}}return[{name:"hour",options:s,selectedIndex:h},{name:"minute",options:c,selectedIndex:_}]}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(m.c$),e.rXU(o.He))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-time-picker"]],inputs:{showError:"showError",time:"time",showPlaceholder:"showPlaceholder"},outputs:{timeChange:"timeChange"},features:[e.OA$],decls:3,vars:8,consts:[[1,"ion-float-end",2,"padding","5px","background","white",3,"ngClass","click"]],template:function(r,n){1&r&&(e.j41(0,"span",0),e.bIt("click",function(){return n.showPicker()}),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&r&&(e.Y8G("ngClass",e.l_i(5,V,n.showError,!n.showError)),e.R7$(1),e.SpI(" ",n.showPlaceholder?"hh:mm":e.i5U(2,2,n.time,"HH:mm"),"\n"))},dependencies:[u.YU,u.vh],styles:[".time-error[_ngcontent-%COMP%]{border:1px solid var(--ion-color-danger)!important;border-radius:10px!important;background-color:rgba(var(--ion-color-danger-rgb),.03)!important}.time-input[_ngcontent-%COMP%]{--background: white;border-width:1px;border-style:solid;border-radius:10px!important;border-color:var(--ion-color-light-tint)}"]})}}return i})();function K(i,l){1&i&&(e.j41(0,"ion-col",20)(1,"ion-text",21),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&i&&(e.R7$(2),e.JRh(e.bMT(3,1,"common.errors.endTimeBeforeStartTime")))}const Q=function(i){return{"ion-datetime-error":i}};let P=(()=>{class i{constructor(t,r){this.processSrv=t,this.datePipe=r,this.date="",this.startTime="",this.endTime="",this.showDatePlaceholder=!1,this.showStartTimePlaceholder=!1,this.showEndTimePlaceholder=!1,this.showError=!1}ngOnInit(){this.careLevelAppointmentInfo=this.processSrv.getCareLevelAppointmentInfo(),this.careLevelAppointmentInfo?.startDateTime?this.date=this.careLevelAppointmentInfo?.startDateTime:(this.careLevelAppointmentInfo.startDateTime=(new Date).toISOString(),this.showStartTimePlaceholder=!0,this.showDatePlaceholder=!0),this.careLevelAppointmentInfo?.endDateTime||(this.careLevelAppointmentInfo.endDateTime=(new Date).toISOString(),this.showEndTimePlaceholder=!0),this.startTime=this.datePipe.transform(this.careLevelAppointmentInfo?.startDateTime,"YYYY-MM-ddTHH:mm:ssZ"),this.endTime=this.datePipe.transform(this.careLevelAppointmentInfo?.endDateTime,"YYYY-MM-ddTHH:mm:ssZ")}ngAfterViewInit(){}ionViewWillEnter(){return(0,a.A)(function*(){})()}onClose(){var t=this;return(0,a.A)(function*(){t.processSrv.resetCareLevelAppointmentInfo(),yield t.processSrv.navigateToOverview()})()}onNext(){var t=this;return(0,a.A)(function*(){t.dateValid()?(t.showError=!1,t.careLevelAppointmentInfo.startDateTime=new Date(t.startTime).toISOString(),t.careLevelAppointmentInfo.endDateTime=new Date(t.endTime).toISOString(),t.processSrv.setCareLevelAppointmentInfo(t.careLevelAppointmentInfo),yield t.processSrv.navigateToPage("enter-appointment-location")):t.showError=!0})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}getTypeName(){return this.processSrv.getTypeName()}updateTime(t,r){switch(r){case k.W2.start:this.startTime=t,this.showStartTimePlaceholder=!1;break;case k.W2.end:this.endTime=t,this.showEndTimePlaceholder=!1}this.showEndTimePlaceholder=new Date(this.startTime)>new Date(this.endTime)}updateDate(t){this.date=t?.detail.value,this.startTime=this.date.substring(0,10)+this.startTime.substring(10),this.endTime=this.date.substring(0,10)+this.startTime.substring(10),this.showDatePlaceholder=!1}dateValid(){return""!==this.date&&""!==this.startTime&&!this.showStartTimePlaceholder&&""!==this.endTime&&!this.showEndTimePlaceholder}getTimeType(){return k.W2}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(u.vh))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-enter-date-time"]],decls:34,vars:22,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[3,"fullscreen"],[1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12",1,"ion-padding-horizontal"],[2,"font-weight","700","font-size","20px"],[1,"ion-padding"],["size","12"],["locale","de","show-default-time-label","false","presentation","date",3,"value","ngClass","ionChange"],["lines","none",1,"ion-margin-top"],[1,"ion-margin-horizontal",3,"time","showPlaceholder","showError","timeChange"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["class","ion-text-center","size","12",4,"ngIf"],["expand","block",3,"color","click"],["size","12",1,"ion-text-center"],["color","danger"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content",7)(11,"ion-grid",8)(12,"ion-row",9)(13,"ion-col",10)(14,"ion-text",11),e.EFF(15),e.nI1(16,"translate"),e.k0s()()(),e.j41(17,"ion-row",12)(18,"ion-col",13)(19,"ion-datetime",14),e.bIt("ionChange",function(c){return n.updateDate(c)}),e.k0s()(),e.j41(20,"ion-item",15)(21,"ion-text"),e.EFF(22," Zwischen "),e.k0s(),e.j41(23,"app-time-picker",16),e.bIt("timeChange",function(c){return n.updateTime(c,n.getTimeType().start)}),e.k0s(),e.j41(24,"ion-text"),e.EFF(25," und "),e.k0s(),e.j41(26,"app-time-picker",16),e.bIt("timeChange",function(c){return n.updateTime(c,n.getTimeType().end)}),e.k0s()()()(),e.j41(27,"ion-grid")(28,"ion-row",17),e.DNE(29,K,4,3,"ion-col",18),e.j41(30,"ion-col",13)(31,"ion-button",19),e.bIt("click",function(){return n.onNext()}),e.EFF(32),e.nI1(33,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,14,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.enterDateTime.header")),e.R7$(5),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(16,16,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.enterDateTime.title")," "),e.R7$(4),e.Y8G("value",n.showDatePlaceholder?null:n.date.substring(0,19))("ngClass",e.eq3(20,Q,n.showError&&n.showDatePlaceholder)),e.R7$(4),e.Y8G("time",n.startTime)("showPlaceholder",n.showStartTimePlaceholder)("showError",n.showError&&n.showStartTimePlaceholder),e.R7$(3),e.Y8G("time",n.endTime)("showPlaceholder",n.showEndTimePlaceholder)("showError",n.showError&&n.showEndTimePlaceholder),e.R7$(3),e.Y8G("ngIf",!n.showStartTimePlaceholder&&n.showEndTimePlaceholder&&n.showError),e.R7$(2),e.Y8G("color",n.dateValid()?"primary":"disabled"),e.R7$(1),e.SpI(" ",e.bMT(33,18,"common.buttons.continue")," "))},dependencies:[u.YU,u.bT,o.el,o.Jm,o.QW,o.hU,o.W9,o.A9,o.lO,o.eU,o.iq,o.uz,o.ln,o.IO,o.BC,o.ai,o.Je,o.tY,J,m.D9],styles:["ion-datetime[_ngcontent-%COMP%]{--background: white;border-width:1px;border-style:solid;border-radius:10px!important;border-color:var(--ion-color-light-tint)}.ion-datetime-error[_ngcontent-%COMP%]{border-color:var(--ion-color-danger)!important;--background: rgba(var(--ion-color-danger-rgb), .03) !important}.time-error[_ngcontent-%COMP%]{border:1px solid var(--ion-color-danger)!important;background-color:rgba(var(--ion-color-danger-rgb),.03)!important}.time-input[_ngcontent-%COMP%]{--background: white;border-width:1px;border-style:solid;border-radius:10px!important;border-color:var(--ion-color-light-tint)}ion-modal[_ngcontent-%COMP%]{--background: rgba(44, 39, 45, .2)}ion-modal[_ngcontent-%COMP%]::part(content){-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}ion-modal[_ngcontent-%COMP%]   ion-content[_ngcontent-%COMP%]{--background: transparent !important}ion-modal[_ngcontent-%COMP%]   ion-content[_ngcontent-%COMP%]   ion-datetime[_ngcontent-%COMP%]{--background: white;margin-top:25vh!important;margin-left:auto!important;margin-right:auto!important}span[_ngcontent-%COMP%]{border-radius:5px}"]})}}return i})(),U=(()=>{class i{constructor(t){this.processSrv=t,this.listModel=[],this.selectedOption=-1,this.nextPage="postal-code",this.showError=!1}ngOnInit(){this.listModel.push({text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.healthcareType.selectionLegal",isSelected:!1},{text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.healthcareType.selectionPrivate",isSelected:!1})}onClose(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}itemSelected(t){var r=this;return(0,a.A)(function*(){r.selectedOption=t,r.showError=!1})()}onSubmit(){var t=this;return(0,a.A)(function*(){if(-1!==t.selectedOption){switch(t.selectedOption){case A.requiredHealthcare:t.processSrv.isPublicInsurance=!0;break;case A.privateHealtchare:t.processSrv.isPublicInsurance=!1}yield t.processSrv.navigateToPage(t.nextPage)}else t.showError=!0})()}goBackwards(){this.processSrv.navigateBack()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-healthcare-type"]],decls:25,vars:14,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[3,"fullscreen"],["size","12","size-md","6","offset-md","3",1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12"],[2,"font-weight","700","font-size","20px"],[1,"ion-padding-horizontal","ion-padding-top"],[3,"list","selectionType","showError","itemClicked"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["size","12","size-md","6","offset-md","3"],["expand","block",3,"color","click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content",7)(11,"ion-grid",8)(12,"ion-row",9)(13,"ion-col",10)(14,"ion-text",11),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()(),e.j41(17,"div",12)(18,"app-selection-list",13),e.bIt("itemClicked",function(c){return n.itemSelected(c)}),e.k0s()(),e.j41(19,"ion-grid")(20,"ion-row",14)(21,"ion-col",15)(22,"ion-button",16),e.bIt("click",function(){return n.onSubmit()}),e.EFF(23),e.nI1(24,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,8,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.healthcareType.header")),e.R7$(5),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(16,10,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.healthcareType.title")," "),e.R7$(3),e.Y8G("list",n.listModel)("selectionType","single")("showError",n.showError),e.R7$(4),e.Y8G("color",-1===n.selectedOption?"disabled":"primary"),e.R7$(1),e.JRh(e.bMT(24,12,"common.buttons.continue")))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,I.Y,m.D9]})}}return i})();var A=function(i){return i[i.requiredHealthcare=0]="requiredHealthcare",i[i.privateHealtchare=1]="privateHealtchare",i}(A||{});let Z=(()=>{class i{constructor(t,r,n){this.processSrv=t,this.loadingController=r,this.translate=n,this.listModel=[],this.selectedOption=-1,this.enterAppointmentPage=P,this.rescheduleAppointmentPage=U,this.showError=!1}ngOnInit(){this.listModel.push({text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.enterOrReschedule.selectionItems.enter",isSelected:!1},{text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.enterOrReschedule.selectionItems.reschedule",isSelected:!1})}onClose(){var t=this;return(0,a.A)(function*(){t.processSrv.resetCareLevelAppointmentInfo(),yield t.processSrv.navigateToOverview()})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}getTypeName(){return this.processSrv.getTypeName()}itemSelected(t){var r=this;return(0,a.A)(function*(){r.selectedOption=t,r.showError=!1})()}onNext(){var t=this;return(0,a.A)(function*(){if(-1!==t.selectedOption)switch(t.selectedOption){case E.enter:yield t.processSrv.navigateToPage("enter-date-time");break;case E.reschedule:yield t.rescheduleNavigation()}else t.showError=!0})()}rescheduleNavigation(){var t=this;return(0,a.A)(function*(){const n=(yield t.translate.get(["common.phrases.pleaseWait"]).toPromise())["common.phrases.pleaseWait"],s=yield t.loadingController.create({message:n});yield s.present(),(yield t.processSrv.userHasMedicalDetails())?(yield s.dism
1iss(),yield t.processSrv.navigateToPage("medical-service")):(yield s.dismiss(),yield t.processSrv.navigateToPage("healthcare-type"))})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(o.Xi),e.rXU(m.c$))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-enter-or-reschedule"]],decls:25,vars:14,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[3,"fullscreen"],[1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12",1,"ion-padding-horizontal"],[2,"font-weight","700","font-size","20px"],[1,"ion-padding"],[3,"list","selectionType","showError","itemClicked"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["size","12"],["expand","block",3,"color","click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content",7)(11,"ion-grid",8)(12,"ion-row",9)(13,"ion-col",10)(14,"ion-text",11),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()(),e.j41(17,"div",12)(18,"app-selection-list",13),e.bIt("itemClicked",function(c){return n.itemSelected(c)}),e.k0s()(),e.j41(19,"ion-grid")(20,"ion-row",14)(21,"ion-col",15)(22,"ion-button",16),e.bIt("click",function(){return n.onNext()}),e.EFF(23),e.nI1(24,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,8,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.enterOrReschedule.header")),e.R7$(5),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(16,10,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.enterOrReschedule.title")," "),e.R7$(3),e.Y8G("list",n.listModel)("selectionType","single")("showError",n.showError),e.R7$(4),e.Y8G("color",-1===n.selectedOption?"disabled":"primary"),e.R7$(1),e.SpI(" ",e.bMT(24,12,"common.buttons.continue")," "))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,I.Y,m.D9]})}}return i})();var E=function(i){return i[i.enter=0]="enter",i[i.reschedule=1]="reschedule",i}(E||{}),O=p(31635),R=p(4594),j=function(i){function l(){return null!==i&&i.apply(this,arguments)||this}return(0,O.C6)(l,i),l.prototype.callNumber=function(t,r){return(0,R.bk)(this,"callNumber",{callbackOrder:"reverse"},arguments)},l.prototype.isCallSupported=function(){return(0,R.bk)(this,"isCallSupported",{},arguments)},l.\u0275fac=function(){let t;return function(n){return(t||(t=e.xGo(l)))(n||l)}}(),l.\u0275prov=e.jDH({token:l,factory:l.\u0275fac}),l.pluginName="CallNumber",l.plugin="call-number",l.pluginRef="plugins.CallNumber",l.repo="https://github.com/Rohfosho/CordovaCallNumberPlugin",l.platforms=["Android","iOS"],l=(0,O.Cg)([],l)}(R.UF);const q=function(i){return{serviceName:i}};let ee=(()=>{class i{constructor(t,r,n){this.processSrv=t,this.callNumber=r,this.cdRef=n,this.nextPage="scheduled-appointment",this.medicalServiceName="",this.phoneNumber="",this.isPhoneFunctionAvailable=!1,this.checkPhoneFunction().then()}ngOnInit(){}ionViewWillEnter(){var t=this;return(0,a.A)(function*(){t.phoneNumber=yield t.processSrv.getMedicalServicePhoneNumber(),t.medicalServiceName=yield t.processSrv.getMedicalServiceName(),t.cdRef.detectChanges()})()}onClose(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}onSubmit(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToPage(t.nextPage)})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}callService(){var t=this;return(0,a.A)(function*(){if(!t.isPhoneFunctionAvailable)return;const r=yield t.processSrv.getMedicalServicePhoneNumber();if(""!==r&&null!=r)try{yield t.callNumber.callNumber(r,!1)}catch{}})()}checkPhoneFunction(){var t=this;return(0,a.A)(function*(){try{t.isPhoneFunctionAvailable=yield t.callNumber.isCallSupported()}catch{t.isPhoneFunctionAvailable=!1}})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(j),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-medical-service"]],decls:43,vars:21,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],["size","12","size-md","6","offset-md","3",1,"ion-padding"],[2,"font-weight","700","font-size","16px"],["size","12","size-md","6","offset-md","3",1,"ion-justify-content-center","ion-text-center","ion-padding"],["color","primary",2,"font-weight","700","font-size","20px",3,"innerHtml"],[3,"innerHtml"],["expand","block","fill","outline","color","primary",3,"disabled","click"],["name","call-outline","color","primary",2,"padding-right","4px"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["size","12","size-md","6","offset-md","3",2,"padding-bottom","40px","padding-left","0px","padding-right","0px"],[2,"padding-bottom","4px"],["color","primary","name","information-circle",2,"width","20px","height","20px","margin-left","5px","padding-left","5px","position","absolute","top","5px","right","5px"],[2,"font-weight","400","font-size","16px"],["size","12","size-md","6","offset-md","3"],["color","primary","expand","block",3,"click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content")(11,"ion-grid")(12,"ion-row",7)(13,"ion-col")(14,"ion-text",8),e.EFF(15),e.nI1(16,"translate"),e.k0s()()(),e.j41(17,"ion-row",9)(18,"ion-col"),e.nrm(19,"ion-text",10),e.k0s()(),e.j41(20,"ion-row",7)(21,"ion-col"),e.nrm(22,"ion-text",11),e.nI1(23,"translate"),e.k0s()(),e.j41(24,"ion-row",7)(25,"ion-col")(26,"ion-button",12),e.bIt("click",function(){return n.callService()}),e.nrm(27,"ion-icon",13),e.EFF(28),e.k0s()()()(),e.j41(29,"ion-grid")(30,"ion-row",14)(31,"ion-col",15)(32,"ion-card")(33,"ion-card-header",16),e.nrm(34,"ion-icon",17),e.k0s(),e.j41(35,"ion-card-content")(36,"ion-text",18),e.EFF(37),e.nI1(38,"translate"),e.k0s()()()(),e.j41(39,"ion-col",19)(40,"ion-button",20),e.bIt("click",function(){return n.onSubmit()}),e.EFF(41),e.nI1(42,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,8,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.medicalCareService.header")),e.R7$(10),e.SpI(" ",e.bMT(16,10,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.medicalCareService.title")," "),e.R7$(4),e.Y8G("innerHtml",n.medicalServiceName,e.npT),e.R7$(3),e.Y8G("innerHtml",e.i5U(23,12,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.medicalCareService.description",e.eq3(19,q,n.medicalServiceName)),e.npT),e.R7$(4),e.Y8G("disabled",!n.isPhoneFunctionAvailable),e.R7$(2),e.SpI(" ",n.phoneNumber," "),e.R7$(9),e.SpI(" ",e.bMT(38,15,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.medicalCareService.info")," "),e.R7$(4),e.JRh(e.bMT(42,17,"common.buttons.continue")))},dependencies:[o.el,o.Jm,o.QW,o.b_,o.I9,o.ME,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,m.D9]})}}return i})();var N=p(22011);function te(i,l){if(1&i&&e.nrm(0,"ion-icon",4),2&i){const t=e.XpG();e.FS9("name",t.icon),e.Y8G("color",t.focused?t.control.invalid&&t.control.touched&&t.control.dirty?"danger":"primary":t.control.invalid&&t.control.touched&&t.control.dirty?"danger":t.fillColor)}}function ne(i,l){if(1&i&&(e.j41(0,"ion-text",5)(1,"span",6),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,1,t.errorMsg))}}const oe=function(i,l,t){return{"ion-item-error":i,"ion-item-focus":l,"ion-item-no-focus":t}};let ie=(()=>{class i{constructor(){this.fillColor="copy",this.updateEvent=ne
1w e.bkB}ngOnInit(){this.valid=this.control?.valid,this.valueChangedSub=this.control?.valueChanges.subscribe(()=>{this.control?.valid!==this.valid&&(this.valid=this.control?.valid),this.updateEvent.emit("")})}focusin(){this.focused=!0}focusout(){this.focused=!1,this.control.setValue(this.control.value.toString().trim())}convertToFormControl(t){return t}ngOnDestroy(){this.valueChangedSub&&this.valueChangedSub.unsubscribe()}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-input-form"]],inputs:{control:"control",label:"label",formType:"formType",icon:"icon",fillColor:"fillColor",autocapitalize:"autocapitalize",errorMsg:"errorMsg"},outputs:{updateEvent:"updateEvent"},decls:6,vars:15,consts:[["lines","none","mode","md",3,"ngClass"],["class","icon ion-no-margin","style","margin-right: 16px !important;","slot","start",3,"name","color",4,"ngIf"],[3,"formControl","type","placeholder","autocapitalize","focusin","focusout"],["class","ion-no-padding ion-no-margin","color","danger","style","font-size: 13px",4,"ngIf"],["slot","start",1,"icon","ion-no-margin",2,"margin-right","16px !important",3,"name","color"],["color","danger",1,"ion-no-padding","ion-no-margin",2,"font-size","13px"],[1,"ion-padding-none","ion-padding-horizontal",2,"display","block","margin-top","8px"]],template:function(r,n){1&r&&(e.j41(0,"ion-item",0),e.DNE(1,te,1,2,"ion-icon",1),e.j41(2,"ion-input",2),e.bIt("focusin",function(){return n.focusin()})("focusout",function(){return n.focusout()}),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()(),e.DNE(5,ne,4,3,"ion-text",3)),2&r&&(e.Y8G("ngClass",e.sMw(11,oe,n.control.invalid&&n.control.touched&&n.control.dirty,n.focused,!n.focused)),e.R7$(1),e.Y8G("ngIf",n.icon),e.R7$(1),e.FS9("type",n.formType),e.FS9("placeholder",(null==n.control.validator?null:n.control.validator.length)>0?e.bMT(3,7,n.label)+"*":e.bMT(4,9,n.label)),e.FS9("autocapitalize",n.autocapitalize),e.Y8G("formControl",n.convertToFormControl(n.control)),e.R7$(3),e.Y8G("ngIf",n.control.touched&&n.control.dirty&&""!==n.errorMsg))},dependencies:[u.YU,u.bT,o.iq,o.$w,o.uz,o.IO,o.Gw,f.BC,f.l_,m.D9],styles:["ion-item[_ngcontent-%COMP%]{border-width:1px;border-style:solid;border-radius:10px!important;background-color:transparent;--ion-background-color: none}.ion-item-error[_ngcontent-%COMP%]{border-color:var(--ion-color-danger)!important;background-color:rgba(var(--ion-color-danger-rgb),.03)!important}.ion-item-focus[_ngcontent-%COMP%]{border-color:var(--ion-color-primary)}.ion-item-no-focus[_ngcontent-%COMP%]{border-color:var(--ion-color-medium)}ion-label[_ngcontent-%COMP%]{color:var(--ion-color-medium)!important}ion-icon[_ngcontent-%COMP%]{align-self:center}"]})}}return i})(),re=(()=>{class i{constructor(t,r,n,s){this.processSrv=t,this.alertController=r,this.loadingController=n,this.translate=s,this.nextPage="medical-service",this.nextButtonEnabled=!1,this.errorMsg="",this.zipCodeForm=new f.gE({zipCode:new f.MJ("",f.k0.compose([f.k0.required,f.k0.min(1e3),f.k0.max(99999),f.k0.pattern("^[0-9]*$")]))})}ngOnInit(){}updateErrorMessage(){this.errorMsg=this.zipCodeForm.get("zipCode").errors?.required?"Required error. to be added":this.zipCodeForm.get("zipCode").errors?.min||this.zipCodeForm.get("zipCode").errors?.max?"Length error. to be added":this.zipCodeForm.get("zipCode").errors?.pattern?"Only numbers error. to be added":""}onClose(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}onSubmit(){var t=this;
1return(0,a.A)(function*(){if(t.zipCodeForm.invalid)return t.updateErrorMessage(),void Object.keys(t.zipCodeForm.controls).forEach(r=>{t.zipCodeForm.get(r).markAsDirty(),t.zipCodeForm.get(r).markAsTouched()});yield t.processSrv.navigateToPage(t.nextPage)})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}zipCodeSearch(){var t=this;return(0,a.A)(function*(){if(t.zipCodeForm.invalid)return t.updateErrorMessage(),void Object.keys(t.zipCodeForm.controls).forEach(_=>{t.zipCodeForm.get(_).markAsDirty(),t.zipCodeForm.get(_).markAsTouched()});const n=(yield t.translate.get(["common.phrases.pleaseWait"]).toPromise())["common.phrases.pleaseWait"],s=yield t.loadingController.create({message:n});yield s.present();const c=t.zipCodeForm.controls.zipCode.value.valueOf(),h=yield t.processSrv.setMedicalService({publicInsurance:t.processSrv.isPublicInsurance,zip:c});yield s.dismiss(),null===h?t.showUnknownAlert():yield t.processSrv.navigateToPage(t.nextPage)})()}showUnknownAlert(){var t=this;return(0,a.A)(function*(){yield t.alertController.createAndShowAlert({header:"Unknown error",message:"There was an error processing your request. Please try again later!",buttons:["OK"]},N.v.error)})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(N.i),e.rXU(o.Xi),e.rXU(m.c$))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-postal-code"]],decls:27,vars:14,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],["size","12","size-md","6","offset-md","3"],[1,"ion-padding"],["color","copy",2,"font-weight","400","font-size","16px"],[3,"control","label","formType","errorMsg","updateEvent"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["expand","block",3,"color","click"],["name","search",2,"padding-right","4px"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content")(11,"ion-grid",7)(12,"ion-row",8)(13,"ion-col")(14,"ion-text",9),e.EFF(15),e.nI1(16,"translate"),e.k0s()()(),e.j41(17,"ion-row",8)(18,"ion-col")(19,"app-input-form",10),e.bIt("updateEvent",function(){return n.updateErrorMessage()}),e.k0s()()()(),e.j41(20,"ion-grid")(21,"ion-row",11)(22,"ion-col",7)(23,"ion-button",12),e.bIt("click",function(){return n.zipCodeSearch()}),e.nrm(24,"ion-icon",13),e.EFF(25),e.nI1(26,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,8,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.postalCode.header")),e.R7$(10),e.JRh(e.bMT(16,10,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.postalCode.description")),e.R7$(4),e.Y8G("control",n.zipCodeForm.get("zipCode"))("label","authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.postalCode.inputPlaceholder")("formType","number")("errorMsg",n.errorMsg),e.R7$(4),e.Y8G("color",n.zipCodeForm.invali
1d?"disabled":"primary"),e.R7$(2),e.SpI(" ",e.bMT(26,12,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.postalCode.searchButtonTitle")," "))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,ie,m.D9]})}}return i})();var se=p(45312),ae=p(10936),le=p(43634),ce=p(5038),pe=p(59673);function de(i,l){}function me(i,l){if(1&i&&(e.qex(0),e.j41(1,"ion-content",8),e.DNE(2,de,0,0,"ng-template",9),e.k0s(),e.bVm()),2&i){e.XpG();const t=e.sdS(11);e.R7$(1),e.Y8G("fullscreen",!0),e.R7$(1),e.Y8G("ngTemplateOutlet",t)}}function ue(i,l){}function he(i,l){if(1&i&&(e.j41(0,"div",10),e.DNE(1,ue,0,0,"ng-template",9),e.k0s()),2&i){e.XpG();const t=e.sdS(11);e.R7$(1),e.Y8G("ngTemplateOutlet",t)}}function ge(i,l){if(1&i&&(e.j41(0,"ion-row",23)(1,"ion-col",24),e.nrm(2,"ion-icon",25),e.k0s(),e.j41(3,"ion-col")(4,"ion-text",26),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()),2&i){const t=l.$implicit;e.R7$(2),e.Y8G("src",t.icon),e.R7$(3),e.JRh(e.bMT(6,2,t.text))}}function fe(i,l){if(1&i&&(e.qex(0),e.DNE(1,ge,7,4,"ion-row",22),e.bVm()),2&i){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.infoList)}}function _e(i,l){if(1&i&&(e.j41(0,"ion-col",14)(1,"ion-text",27),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&i){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,1,"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupport"+t.translationKey+".description")," ")}}function ve(i,l){if(1&i){const t=e.RV6();e.j41(0,"ion-grid",28)(1,"ion-row")(2,"ion-col",12)(3,"ion-row",13)(4,"ion-col",14)(5,"ion-text",29),e.EFF(6),e.nI1(7,"translate"),e.k0s()(),e.j41(8,"ion-col",14)(9,"ion-text",27),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.j41(12,"ion-col",17)(13,"ion-button",30),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.callSupport())}),e.nrm(14,"ion-icon",31)(15,"ion-label",20),e.k0s()(),e.j41(16,"ion-col",32)(17,"ion-text",33),e.EFF(18),e.nI1(19,"translate"),e.k0s()()()()()()}if(2&i){const t=e.XpG(2);e.R7$(6),e.SpI(" ",e.bMT(7,5,"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupport"+t.translationKey+".needHelpTitle")," "),e.R7$(4),e.SpI(" ",e.bMT(11,7,"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupport"+t.translationKey+".needHelpDescription")," "),e.R7$(3),e.Y8G("disabled",!t.isPhoneFunctionalitySupported),e.R7$(2),e.Y8G("innerHTML",t.callSupportBtnText,e.npT),e.R7$(3),e.SpI(" ",e.bMT(19,9,"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupport"+t.translationKey+".schedule")," ")}}function be(i,l){if(1&i){const t=e.RV6();
1e.j41(0,"ion-grid",11)(1,"ion-row")(2,"ion-col",12)(3,"ion-row",13)(4,"ion-col",14),e.nrm(5,"ion-text",15),e.nI1(6,"translate"),e.k0s(),e.DNE(7,fe,2,1,"ng-container",5),e.DNE(8,_e,4,3,"ng-template",null,16,e.C5r),e.j41(10,"ion-col",17)(11,"ion-button",18),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.callInsurance())}),e.nrm(12,"ion-icon",19)(13,"ion-label",20),e.k0s()()()()()(),e.DNE(14,ve,20,11,"ion-grid",21)}if(2&i){const t=e.sdS(9),r=e.XpG();e.R7$(5),e.FS9("innerText",e.bMT(6,6,"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupport"+r.translationKey+".title")),e.R7$(2),e.Y8G("ngIf","assessment"===(null==r._configuration?null:r._configuration.modalTemplate))("ngIfElse",t),e.R7$(4),e.Y8G("disabled",!r.isPhoneFunctionalitySupported),e.R7$(2),e.Y8G("innerHTML",r.callInsuranceBtnText,e.npT),e.R7$(1),e.Y8G("ngIf",r.showOurSupportInfo)}}let x=(()=>{class i extends ae.o{set configuration(t){this.translationKey=t.modalTemplate,this._configuration=t}constructor(t,r,n,s,c,h,_,d){super(h,_),this.injector=t,this.toastController=n,this.alertController=s,this.translate=c,this.modalControllerWrapper=h,this.screenService=_,this.callNumber=d,this.translationKey="",this.infoList=[{icon:"assets/icon/svgs/short-time-care.svg",text:"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupportForAssessment.option1",title:""},{icon:"assets/icon/svgs/call.svg",text:"authenticated.processes.initialCareApplication.tasks.uploadResult.pages.callSupportForAssessment.option2",title:""}]}ngOnInit(){this.setupUI().then()}setupUI(){var t=this;return(0,a.A)(function*(){try{t.isPhoneFunctionalitySupported=yield t.callNumber.isCallSupported()}catch{t.isPhoneFunctionalitySupported=!1}t.supportPhoneNumber=se.c.support.phone,t.callInsuranceBtnText=t.insurancePhoneNumber,t.callSupportBtnText=t.supportPhoneNumber,t.isPhoneFunctionalitySupported||(t.callInsuranceBtnText=t.insurancePhoneNumber.replace("tel:",""),t.callSupportBtnText=t.supportPhoneNumber)})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.goalSpecificLogicService.navigateBack()})()}onClose(){var t=this;return(0,a.A)(function*(){yield t.dismissSelf()})()}callSupport(){var t=this;return(0,a.A)(function*(){try{yield t.performCall(t.supportPhoneNumber)}catch{}})()}callInsurance(){var t=this;return(0,a.A)(function*(){try{yield t.performCall(t.insurancePhoneNumber)}catch{}})()}performCall(t){var r=this;return(0,a.A)(function*(){try{yield r.callNumber.isCallSupported(),yield r.callNumber.callNumber(t,!1)}catch{const s=yield r.translate.getTranslationForKey("common.errors.callCannotBeMade"),c=yield r.translate.getTranslationForKey("common.errors.callFunctionalityNotSupported"),h=yield r.translate.getTranslationForKey("common.buttons.ok");yield(yield r.toastController.create({header:s,message:c,color:"primary",buttons:[{text:h,role:"cancel"}],keyboardClose:!0})).present()}})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(e.zZn),e.rXU(C.nX),e.rXU(o.K_),e.rXU(o.hG),e.rXU(le.o),e.rXU(ce.R),e.rXU(pe.P),e.rXU(j))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-process-call-support"]],viewQuery:function(r,n){if(1&r&&e.GBs(o.Sb,5),2&r){let s;e.mGM(s=e.lsd())&&(n.modal=s.first)}},inputs:{insurancePhoneNumber:"insurancePhoneNumber",showOurSupportInfo:"showOurSupportInfo",configuration:"configuration"},features:[e.Vt3],decls:12,vars:5,consts:[[1,"header-shadow","ion-no-border"],["color","white"],["slot","end"],[3,"click"],["color","primary",2,"font-family","Poppins-Regular","font-size","16px"],[4,"ngIf","ngIfElse"],["desktopTemplate",""],["templateRef",""],[3,"fullscreen"],[3,"ngTemplateOutlet"],[1,"wrapper-div",2,"color","black"],[1,"ion-padding"],["size","12","sizeSm","10","offsetSm","1"],[1,"ion-justify-content-center"],["size","12",1,"ion-text-left","ion-text-sm-center"],[2,"font-family","Poppins-SemiBold","font-size","18px",3,"innerText"],["standardTemplate",""],["size","12"],["expand","block","color","primary","shape","round",3,"disabled","click"],["name","call-outline","color","white",2,"padding-right","4px"],[3,"innerHTML"],["class","ion-padding","style","margin-top: 36px;",4,"ngIf"],["class","ion-align-items-center",4,"ngFor","ngForOf"],[1,"ion-align-items-center"],["size","auto"],[2,"padding-right","4px","vertical-align","middle","height","24px","width","24px","fill","#5D5DE4",3,"src"],[2,"display","block","font-size","16px"],[2,"font-family","Poppins-Regular","font-size","16px"],[1,"ion-padding",2,"margin-top","36px"],[2,"font-family","Poppins-SemiBold","font-size","18px"],["shape","round","expand","block","color","primary","fill","outline",3,"disabled","click"],["name","call-outline","color","primary",2,"padding-right","4px"],["size","12",1,"ion-text-center"],[2,"font-style","normal","font-weight","400","font-size","11px","line-height","14px","text-align","center"]],template:function(r,n){if(1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),e.bIt("click",function(){return n.onClose()}),e.j41(4,"ion-label",4),e.EFF(5),e.nI1(6,"translate"),e.k0s()()()()(),e.DNE(7,me,3,2,"ng-container",5),e.DNE(8,he,2,1,"ng-template",null,6,e.C5r),e.DNE(10,be,15,8,"ng-template",null,7,e.C5r)),2&r){const s=e.sdS(9);e.R7$(5),e.JRh(e.bMT(6,3,"common.buttons.done")),e.R7$(2),e.Y8G("ngIf",n.nativeApp||!n.desktopView)("ngIfElse",s)}},dependencies:[u.Sq,u.bT,u.T3,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.he,o.ln,o.IO,o.ai,m.D9]})}}return i})(),D=(()=>{class i{constructor(t){this.processSrv=t,this.nextPage=x}ngOnInit(){}onClose(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}onSubmit(){var t=this;return(0,a.A)(function*(){yield t.processSrv.sendTaskToInProgress(),yield t.processSrv.navigateToOverview()})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-reminder-info"]],decls:22,vars:9,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[1,"ion-padding"],["size","12","size-md","6","offset-md","3"],[3,"innerHtml"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["color","primary","expand","block",3,"click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content")(11,"ion-grid",7)(12,"ion-row")(13,"ion-col",8),e.nrm(14,"ion-text",9),e.nI1(15,"translate"),e.k0s()()(),e.j41(16,"ion-grid")(17,"ion-row",10)(18,"ion-col",8)(19,"ion-button",11),e.bIt("click",function(){return n.onSubmit()}),e.EFF(20),e.nI1(21,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,3,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.reminderInfo.header")),e.R7$(9),e.Y8G("innerHtml",e.bMT(15,5,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.reminderInfo.info"),e.npT),e.R7$(6),e.JRh(e.bMT(21,7,"common.buttons.closeTask")))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,m.D9]})}}return i})(),ke=(()=>{class i{constructor(t){this.processSrv=t,this.listModel=[],this.selectedOption=-1,this.nextPage=D,this.showError=!1}ngOnInit(){this.listModel.push({text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.scheduledAppointment.selectionAlreadyScheduled",isSelected:!1},{text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.scheduledAppointment.selectionScheduledByPost",isSelected:!1},{text:"authenticated.processes."+this.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.scheduledAppointment.selectionNotScheduled",isSelected:!1})}onClose(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateToOverview()})()}itemSelected(t){var r=this;return(0,a.A)(function*(){r.selectedOption=t,r.showError=!1})()}onSubmit(){var t=this;return(0,a.A)(function*(){if(-1!==t.selectedOption)switch(t.selectedOption){case w.scheduled:yield t.processSrv.navigateToPage("enter-date-time");break;case w.scheduledByPost:yield t.processSrv.navigateToPage("reminder-info");break;case w.notScheduled:yield t.processSrv.navigateToPage("process-call-support")}else t.showError=!0})()}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-scheduled-appointment"]],decls:25,vars:14,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[3,"fullscreen"],["size","12","size-md","6","offset-md","3",1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12"],[2,"font-weight","700","font-size","20px"],[1,"ion-padding-horizontal","ion-padding-top"],[3,"list","selectionType","showError","itemClicked"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["size","12","size-md","6","offset-md","3"],["expand","block",3,"color","click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content",7)(11,"ion-grid",8)(12,"ion-row",9)(13,"ion-col",10)(14,"ion-text",11),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()(),e.j41(17,"div",12)(18,"app-selection-list",13),e.bIt("itemClicked",function(c){return n.itemSelected(c)}),e.k0s()(),e.j41(19,"ion-grid")(20,"ion-row",14)(21,"ion-col",15)(22,"ion-button",16),e.bIt("click",function(){return n.onSubmit()}),e.EFF(23),e.nI1(24,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,8,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.scheduledAppointment.header")),e.R7$(5),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(16,10,"authenticated.processes."+n.processSrv.getTypeName()+".tasks.addUpdateAppointment.pages.scheduledAppointment.title")," "),e.R7$(3),e.Y8G("list",n.listModel)("selectionType","single")("showError",n.showError),e.R7$(4),e.Y8G("color",-1===n.selectedOption?"disabled":"primary"),e.R7$(1),e.JRh(e.bMT(24,12,"common.buttons.continue")))},dependencies:[o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,I.Y,m.D9]})}}return i})();var w=function(i){return i[i.scheduled=0]="scheduled",i[i.scheduledByPost=1]="scheduledByPost",i[i.notScheduled=2]="notScheduled",i}(w||{});function Te(i,l){if(1&i&&(e.j41(0,"ion-text"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",e.bMT(2,1,"authenticated.processes."+t.getTypeName()+".tasks.addUpdateAppointment.pages.summary.descriptionHome")," ")}}function Ce(i,l){if(1&i&&(e.j41(0,"ion-text"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i){const t=e.XpG();e.R7$(1),e.SpI(" ",e.bMT(2,1,"authenticated.processes."+t.getTypeName()+".tasks.addUpdateAppointment.pages.summary.descriptionPhone")," ")}}const ye=function(i,l){return{startDate:i,endDate:l}};let Se=(()=>{class i{constructor(t,r){this.processSrv=t,this.processApiSrv=r}ngOnInit(){}ionViewWillEnter(){this.startDate=this.processSrv.getCareLevelAppointmentInfo().startDateTime,this.endDate=this.processSrv.getCareLevelAppointmentInfo().endDateTime}onClose(){var t=this;return(0,a.A)(function*(){t.processSrv.resetCareLevelAppointmentInfo(),yield t.processSrv.navigateToOverview()})()}onNext(){var t=this;return(0,a.A)(function*(){yield t.processApiSrv.upsertCareLevelAppointmentInfo(t.processSrv.getId(),t.processSrv.getCareLevelAppointmentInfo()),yield t.processSrv.syncCareLevelAppointmentInfo(),yield t.processSrv.sendTaskToDone(),yield t.processSrv.navigateToPage("task-finished",!0)})()}getLocationType(){return k.iF}goBackwards(){var t=this;return(0,a.A)(function*(){yield t.processSrv.navigateBack()})()}getTypeName(){return this.processSrv.getTypeName()}static{this.\u0275fac=function(r){return new(r||i)(e.rXU(v.e),e.rXU(T.q))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["app-summary"]],decls:37,vars:30,consts:[[1,"header-shadow"],["color","white"],["slot","start"],["text","","defaultHref","/process-overview",3,"click"],["slot","end"],[3,"click"],["slot","icon-only","name","close"],[3,"fullscreen"],[1,"ion-text-start","ion-align-items-center"],[1,"ion-padding",2,"padding-bottom","0px"],["size","12",1,"ion-text-center"],[1,"section-heading-font"],[4,"ngIf"],[2,"font-weight","700"],[3,"innerHTML"],[1,"ion-justify-content-center","ion-padding",2,"position","absolute","bottom","5vh","width","100vw"],["size","12"],["expand","block",3,"color","click"]],template:function(r,n){1&r&&(e.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-back-button",3),e.bIt("click",function(){return n.goBackwards()}),e.k0s()(),e.j41(4,"ion-title"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"ion-buttons",4)(8,"ion-button",5),e.bIt("click",function(){return n.onClose()}),e.nrm(9,"ion-icon",6),e.k0s()()()(),e.j41(10,"ion-content",7)(11,"ion-grid",8)(12,"ion-row",9)(13,"ion-col",10)(14,"ion-text",11),e.EFF(15),e.nI1(16,"translate"),e.k0s()()(),e.j41(17,"ion-row",9)(18,"ion-col",10),e.DNE(19,Te,3,3,"ion-text",12),e.DNE(20,Ce,3,3,"ion-text",12),e.k0s()(),e.j41(21,"ion-row",9)(22,"ion-col",10)(23,"ion-text",13),e.EFF(24),e.nI1(25,"date"),e.k0s()(),e.j41(26,"ion-col",10),e.nrm(27,"ion-text",14),e.nI1(28,"translate"),e.nI1(29,"date"),e.nI1(30,"date"),e.k0s()()(),e.j41(31,"ion-grid")(32,"ion-row",15)(33,"ion-col",16)(34,"ion-button",17),e.bIt("click",function(){return n.onNext()}),e.EFF(35),e.nI1(36,"translate"),e.k0s()()()()()),2&r&&(e.R7$(5),e.JRh(e.bMT(6,9,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.summary.header")),e.R7$(5),e.Y8G("fullscreen",!0),e.R7$(5),e.SpI(" ",e.bMT(16,11,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.summary.title")," "),e.R7$(4),e.Y8G("ngIf",n.location===n.getLocationType().home),e.R7$(1),e.Y8G("ngIf",n.location===n.getLocationType().phone),e.R7$(4),e.SpI(" ",e.i5U(25,13,n.startDate,"dd.MM.YYYY")," "),e.R7$(3),e.Y8G("innerHTML",e.i5U(28,16,"authenticated.processes."+n.getTypeName()+".tasks.addUpdateAppointment.pages.summary.appointmentTime",e.l_i(27,ye,e.i5U(29,19,n.startDate,"HH:mm"),e.i5U(30,22,n.endDate,"HH:mm"))),e.npT),e.R7$(7),e.Y8G("color","primary"),e.R7$(1),e.SpI(" ",e.bMT(36,25,"common.buttons.continue")," "))},dependencies:[u.bT,o.el,o.Jm,o.QW,o.hU,o.W9,o.lO,o.eU,o.iq,o.ln,o.IO,o.BC,o.ai,o.tY,u.vh,m.D9]})}}return i})();var Ie=p(96521),we=p(38179);const Ae=[{path:"",component:Ie.x,children:[{path:"start",component:B},{path:"completed",component:X},{path:"enter-appointment-location",component:W},{path:"enter-date-time",component:P},{path:"enter-or-reschedule",component:Z},{path:"healthcare-type",component:U},{path:"medical-service",component:ee},{path:"postal-code",component:re},{path:"reminder-info",component:D},{path:"scheduled-appointment",component:ke},{path:"process-call-support",component:x,data:{processSrv:g.wY}},{path:"summary",component:Se},{path:"task-finished",component:we.U,data:{processSrv:g.wY}}]}];let Ee=(()=>
1{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275mod=e.$C({type:i})}static{this.\u0275inj=e.G2t({imports:[C.iI.forChild(Ae),C.iI]})}}return i})(),Re=(()=>{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275mod=e.$C({type:i})}static{this.\u0275inj=e.G2t({imports:[u.MD,Ee,S.U,g.Gg,f.YN]})}}return i})()},10936:(F,y,p)=>{p.d(y,{o:()=>g});var u=p(10467),S=p(34939);class g extends S.i{constructor(C,a){super(a),this.modalControllerWrapper=C,this.screensizeSrv=a}dismissSelf(C,a){var b=this;return(0,u.A)(function*(){""!==b.modalId?yield b.modalControllerWrapper.dismissModal(b.modalId,C,a):yield b.modalControllerWrapper.dismissTopModal()})()}}},95997:(F,y,p)=>{p.d(y,{H:()=>k});var u=p(10467),S=p(60177),g=p(67558),f=p(73955),C=p(4526),a=p(17705),b=p(5038);let k=(()=>{class e{constructor(T){this.modalController=T}ngOnInit(){}dismissModal(){var T=this;return(0,u.A)(function*(){yield T.modalController.dismissModal(T.modalId)})()}static{this.\u0275fac=function(o){return new(o||e)(a.rXU(b.R))}}static{this.\u0275cmp=a.VBU({type:e,selectors:[["app-popup-type-modal"]],inputs:{text:"text",modalId:"modalId"},standalone:!0,features:[a.aNF],decls:9,vars:1,consts:[[1,"block"],[1,"ion-padding",2,"padding-top","0px","padding-right","0px"],[1,"ion-justify-content-end"],["size","auto",1,"ion-no-padding"],["color","primary","fill","clear",3,"click"],["name","close-outline",2,"height","24px","width","24px"],[1,"ion-padding-bottom"],[1,"ion-padding-end",2,"padding-top","0px"],[1,"body-copy-font",3,"innerHTML"]],template:function(o,m){1&o&&(a.j41(0,"div",0)(1,"ion-grid",1)(2,"ion-row",2)(3,"ion-col",3)(4,"ion-button",4),a.bIt("click",function(){return m.dismissModal()}),a.nrm(5,"ion-icon",5),a.k0s()()(),a.j41(6,"ion-row",6)(7,"ion-col",7),a.nrm(8,"ion-text",8),a.k0s()()()()),2&o&&(a.R7$(8),a.Y8G("innerHTML",m.text,a.npT))},dependencies:[S.MD,g.bv,g.Jm,g.hU,g.lO,g.iq,g.ln,g.IO,C.U,f.h]})}}return 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.