1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1445],{1445:(Pt,M,r)=>{r.r(M),r.d(M,{HomePageModule:()=>Bt});var f=r(177),B=r(9417),l=r(9420),E=r(7399),P=r(467),G=r(179),V=r(6282),w=r(738),j=r(1079),A=r(8046),I=r(4583),U=r(4779),N=r(7786),O=r(4412),b=r(4572),L=r(5964),X=r(5558),S=r(6354),F=r(6697),W=r(7070),R=r(8634),T=r(7293),g=r(2909),k=r(2616),Y=r(6873),z=r(6397),y=r(5539),D=r(776),J=r(8653),t=r(3953),$=r(5499),Q=r(4409),C=r(3955);let K=(()=>{class n{constructor(e,i,s,a){this.helper=e,this.modalCtrl=i,this.formBuilder=s,this.store=a}ngOnInit(){this.userForm=this.formBuilder.group({vacationStartDate:[(0,g.po)(this.user.vacationStartDate)],vacationEndDate:[(0,g.po)(this.user.vacationEndDate)]})}updateDate(e,i){let s=(0,g.PU)(i);this.store.dispatch(J.N_({uid:this.user.uid,fieldName:e,fieldValue:s}))}save(){!this.userForm.value.vacationStartDate&&this.userForm.value.vacationEndDate||this.userForm.value.vacationStartDate&&!this.userForm.value.vacationEndDate?this.helper.showWarningDirect("Vacation","You must enter both start and end date"):(this.updateDate("vacationStartDate",this.userForm.value.vacationStartDate),this.updateDate("vacationEndDate",this.userForm.value.vacationEndDate),this.modalCtrl.dismiss())}vacationStartDateSelected(e){(this.userForm.value.vacationStartDate>this.userForm.value.vacationEndDate||!this.userForm.value.vacationEndDate)&&this.userForm.patchValue({vacationEndDate:this.userForm.value.vacationStartDate})}vacationEndDateSelected(e){(this.userForm.value.vacationStartDate>this.userForm.value.vacationEndDate||!this.userForm.value.vacationStartDate)&&this.userForm.patchValue({vacationStartDate:this.userForm.value.vacationEndDate})}static#t=this.\u0275fac=function(i){return new(i||n)(t.rXU(k.H),t.rXU(l.W3),t.rXU(B.ok),t.rXU($.il))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["app-vacation-detail"]],inputs:{user:"user"},decls:31,vars:21,consts:[["color","primary"],["slot","start"],["icon-only","",3,"click"],["name","arrow-back"],[1,"page-title"],["slot","end"],[3,"click"],["slot","icon-only","name","save"],["name","vacationStartDate",3,"valueChangeEvent","parentForm","value","firstDayOfWeek"],["name","vacationEndDate",3,"valueChangeEvent","parentForm","value","firstDayOfWeek"]],template:function(i,s){1&i&&(t.j41(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1)(3,"ion-button",2),t.bIt("click",function(){return s.modalCtrl.dismiss()}),t.nrm(4,"ion-icon",3),t.k0s()(),t.j41(5,"ion-title")(6,"div",4),t.EFF(7),t.nI1(8,"translate"),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"ion-buttons",5)(11,"ion-button",6),t.bIt("click",function(){return s.save()}),t.nrm(12,"ion-icon",7),t.k0s()()()(),t.j41(13,"ion-content")(14,"ion-card")(15,"ion-card-content"),t.EFF(16),t.nI1(17,"translate"),t.k0s()(),t.j41(18,"ion-grid")(19,"ion-row")(20,"ion-col"),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.j41(23,"ion-col"),t.EFF(24),t.nI1(25,"translate"),t.k0s()(),t.j41(26,"ion-row")(27,"ion-col")(28,"datetime-picker",8),t.bIt("valueChangeEvent",function(o){return s.vacationStartDateSelected(o)}),t.k0s()(),t.j41(29,"ion-col")(30,"datetime-picker",9),t.bIt("valueChangeEvent",function(o){return s.vacationEndDateSelected(o)}),t.k0s()()()()()),2&i&&(t.R7$(7),t.Lme("",t.bMT(8,11,"s_edit")," ",t.bMT(9,13,"s_vacation"),""),t.R7$(9),t.SpI(" ",t.bMT(17,15,"s_vacationPrompt")," "),t.R7$(5),t.SpI("",t.bMT(22,17,"s_startDate"),":"),t.R7$(3),t.SpI("",t.bMT(25,19,"s_endDate"),":"),t.R7$(4),t.Y8G("parentForm",s.userForm)("value",s.userForm.value.vacationStartDate)("firstDayOfWeek",null!=s.user&&s.user.weekStartsOnMonday?1:0),t.R7$(2),t.Y8G("parentForm",s.userForm)("value",s.userForm.value.vacationEndDate)("firstDayOfWeek",null!=s.user&&s.user.weekStartsOnMonday?1:0))},dependencies:[l.Jm,l.QW,l.b_,l.I9,l.hU,l.W9,l.lO,l.eU,l.iq,l.ln,l.BC,l.ai,Q.j,C.D9],styles:["ion-select[_ngcontent-%COMP%]::part(placeholder):first-letter{font-size:24px;font-weight:500}ion-select[_ngcontent-%COMP%]::part(icon){opacity:1}.tag[_ngcontent-%COMP%]{height:35px}.tag-label[_ngcontent-%COMP%]{margin-top:-7px;color:gold}"]})}return n})();var Z=r(4205),_=r(9172),q=r(2262),tt=r(2936);function et(n){return function m(e){for(var i,s,a,o=[],c=0,u=e.length;c<u;){if((0,tt.A)(e[c]))for(a=0,s=(i=n?m(e[c]):e[c]).length;a<s;)o[o.length]=i[a],a+=1;else o[o.length]=e[c];c+=1}return o}}const it=(0,q.A)(et(!0));var x=r(5512);const nt=["autofocus"];function at(n,m){if(1&n&&(t.j41(0,"div"),t.nrm(1,"app-task",11),t.k0s()),2&n){const e=m.$implicit,i=m.odd,s=t.XpG(2);t.R7$(),t.AVh("odd",i),t.Y8G("listItem",e)("user",s.user)("showListName",!0)}}function rt(n,m){if(1&n&&(t.j41(0,"ion-list"),t.DNE(1,at,2,5,"div",10),t.k0s()),2&n){const e=m.ngIf,i=t.XpG();t.R7$(),t.Y8G("ngForOf",e)("ngForTrackBy",i.trackByName)}}let ot=(()=>{class n{constructor(e,i,s){this.helper=e,this.modalCtrl=i,this.store=s,this.showInactiveTasksOnly$=new O.t(!1)}ngOnInit(){}ionViewDidEnter(){this.store.select(D.Mr).pipe((0,F.s)(1)).subscribe(i=>{this.user.myLists&&i&&this.user.myLists.length!=i.length&&this.user.myLists.map(s=>{this.store.dispatch(y._s({listId:s.id}))})});const e=this.searchBar.ionInput.pipe((0,S.T)(i=>i.target.value),(0,_.Z)(""));this.listItems$=(0,b.z)([this.store.select(D.Mr).pipe((0,L.p)(i=>null!=i)),e,this.showInactiveTasksOnly$]).pipe((0,S.T)(([i,s,a])=>s.trim().length<=0&&!a?null:it(i.map(o=>o.tasks?o.tasks.filter(u=>u.name.toLowerCase().includes(s.toLowerCase())&&(a&&!u.isActive||!a)).map(u=>({listId:o.header.id,task:A.A(u)})):null)))),setTimeout(()=>{this.inputName.setFocus()},500)}toggleShowInactiveTasksOnly(e){this.showInactiveTasksOnly$.next(e.detail.checked)}static#t=this.\u0275fac=function(i){return new(i||n)(t.rXU(k.H),t.rXU(l.W3),t.rXU($.
1il))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["app-task-search"]],viewQuery:function(i,s){if(1&i&&(t.GBs(l.S1,7),t.GBs(nt,7)),2&i){let a;t.mGM(a=t.lsd())&&(s.searchBar=a.first),t.mGM(a=t.lsd())&&(s.inputName=a.first)}},inputs:{user:"user"},decls:18,vars:9,consts:[["autofocus",""],["color","primary"],["slot","start"],["icon-only","",3,"click"],["name","arrow-back"],[1,"page-title"],["slot","end"],["labelPlacement","start","justify","start",3,"ionChange"],["placeholder","Enter task name"],[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"listItem","user","showListName"]],template:function(i,s){if(1&i){const a=t.RV6();t.j41(0,"ion-header")(1,"ion-toolbar",1)(2,"ion-buttons",2)(3,"ion-button",3),t.bIt("click",function(){return t.eBV(a),t.Njj(s.modalCtrl.dismiss())}),t.nrm(4,"ion-icon",4),t.k0s()(),t.j41(5,"ion-title")(6,"div",5),t.EFF(7),t.nI1(8,"translate"),t.k0s()(),t.j41(9,"ion-buttons",6)(10,"ion-checkbox",7),t.bIt("ionChange",function(c){return t.eBV(a),t.Njj(s.toggleShowInactiveTasksOnly(c))}),t.EFF(11),t.nI1(12,"translate"),t.k0s()()()(),t.j41(13,"ion-content"),t.nrm(14,"ion-searchbar",8,0),t.DNE(16,rt,2,2,"ion-list",9),t.nI1(17,"async"),t.k0s()}2&i&&(t.R7$(7),t.JRh(t.bMT(8,3,"s_search")),t.R7$(4),t.SpI(" ",t.bMT(12,5,"s_inactiveTasksOnly")," "),t.R7$(5),t.Y8G("ngIf",t.bMT(17,7,s.listItems$)))},dependencies:[f.Sq,f.bT,l.Jm,l.QW,l.eY,l.W9,l.eU,l.iq,l.nf,l.S1,l.BC,l.ai,l.hB,l.Gw,x.B,f.Jj,C.D9],styles:["ion-checkbox[_ngcontent-%COMP%]{--size: 20px;--checkbox-background-checked: #BBDBB4;padding-right:10px}ion-checkbox[_ngcontent-%COMP%]::part(container){border-radius:6px;border:2px solid #BBDBB4}"]})}return n})();var lt=r(6088),ct=r(1337),ht=r(3075),ut=r(6720),dt=r(8962),mt=r(6650),gt=r(4537),pt=r(7735),vt=r(1782),ft=r(3284);function kt(n,m){if(1&n&&(t.qex(0),t.j41(1,"ion-badge",11),t.EFF(2),t.k0s(),t.bVm()),2&n){const e=m.ngIf;t.R7$(2),t.JRh(e)}}function Dt(n,m){if(1&n&&(t.j41(0,"ion-badge",12),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.JRh(e.finishedOnetimeTaskCount)}}function St(n,m){if(1&n&&(t.j41(0,"ion-item",16)(1,"ion-label",17),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit,i=t.XpG(2);t.xc7("--background",i.getBarBackColor()),t.R7$(),t.xc7("--color",i.getBarTextColor()),t.R7$(),t.JRh(e.title)}}function Tt(n,m){if(1&n&&(t.nrm(0,"app-task",18),t.nI1(1,"async")),2&n){const e=t.XpG(),i=e.$implicit,s=e.odd,a=t.XpG(2);t.AVh("odd",s),t.Y8G("listItem",i)("user",a.user)("showListName",a.listCount>1)("compactView",t.bMT(1,6,a.compactView$))}}function yt(n,m){if(1&n&&(t.j41(0,"div"),t.DNE(1,St,3,5,"ion-item",14)(2,Tt,2,8,"app-task",15),t.k0s()),2&n){const e=m.$implicit;t.R7$(),t.Y8G("ngIf",e.title),t.R7$(),t.Y8G("ngIf",e.task)}}function It(n,m){if(1&n&&(t.j41(0,"ion-list"),t.DNE(1,yt,3,2,"div",13),t.k0s()),2&n){const e=m.ngIf,i=t.XpG();t.R7$(),t.Y8G("ngForOf",e)("ngForTrackBy",i.trackByName)}}const bt=[{path:"",component:(()=>{class n{constructor(e,i,s,a,o,c,u,d,h,v,p,Et){this.router=e,this.store=i,this.helper=s,this.listService=a,this.admobService=o,this.alarmService=c,this.taskService=u,this.auth=d,this.actionSheetController=h,this.deviceService=v,this.messageService=p,this.shareService=Et,this.today=(0,g.Gq)(),this.finishedOnetimeTaskCount=0}ngOnInit(){this.messageService.checkMessage(),this.offlineSubscription=this.deviceService.isConnected$.subscribe(e=>this.isOffline=!e)}ionViewDidEnter(){this.userSubscription=(0,U.y)(this.store.select(W.HW).pipe((0,L.p)(e=>null!=e)),this.store.select(D.OM)).subscribe(([e,i])=>{this.user=e,this.listCount=e.myLists?e.myLists.filter(s=>s.showOnHomePage||null==s.showOnHomePage).length:0,(!i||i.length!=this.listCount||(0,g.Pl)(this.auth.lastSignInTime&&function H(n,m){(0,w.A)(2,arguments);var e=(0,G.A)(m);return(0,V.A)(n,1e3*e)}(this.auth.lastSignInTime,5),new Date,!1))&&this.loadList()}),this.listSubscription=this.store.select(D.OM).pipe((0,L.p)(e=>null!=e),(0,X.n)(e=>(0,N.h)(...e.map(i=>this.listService.getListCondition$(this.user,i).pipe((0,S.T)(s=>{if(s&&null!=s.code&&null!=s.code&&""!=s.code)this.helper.showWarningWithAction("g_failToLoadList",i.header.name,()=>{this.store.dispatch(y.vb({currentListId:null})),this.loadList()});else if(s)return i.header.id;return null})))))).subscribe(e=>{this.store.dispatch(y._s({listId:e}))}),this.showInactiveTasks$=new O.t(!1),this.compactView$=new O.t(!1),this.helper.getPreferenceBoolean(k.H.KEY_COMPACT_VIEW,!1).then(e=>{this.compactView$.next(e)}),this.listItems$=(0,b.z)([this.store.select(D.OM),this.showInactiveTasks$]).pipe((0,S.T)(([e,i])=>{if(e){this.alarmService.stopAllAlarms();let s=[];return this.finishedOnetimeTaskCount=0,e.forEach(a=>{a.tasks&&a.tasks.forEach(o=>{if(i||o.isActive){o.isActive&&this.taskService.isOneTimeTask(o)&&this.taskService.isDone(o)&&a.header.createdBy==this.user.uid&&this.finishedOnetimeTaskCount++;let c={task:A.A(o),listId:a.header.id};const u=this.taskService.shouldReset(o),d=o.endDate&&(0,g.gM)(o.endDate,this.today);(100==o.progress||u)&&!d&&((null!=o.finishedDate&&null!=o.dueDate&&(0,g.gM)(o.dueDate,o.finishedDate)||u)&&(c.task.dueDate=this.taskService.calculateDueDate(o,this.user,!0)),c.task.progress=this.taskService.resetProgress(o,this.user)),o.reminderTime&&this.taskService.setAlarm({user:this.user,listId:a.header.id,task:c.task}),c.task.dueDate=c.task.dueDate?new Date(c.task.dueDate):null,!this.taskService.isOneTimeTask(o)&&!o.history&&o.finishedDate&&this.taskService.addToHistory(c.task),s.push(c)}})}),this.groupTasks(s)}return null})),this.admobService.showBannerAds()}groupTasks(e){if(e){e=(0,Y.uy)(e);let i=[],s=[],a=[],o=[],c=[],u=(0,g.Gq)();e.forEach(h=>{if(h.task.dueDate){if((h.task.frequencyType||!this.taskService.isDone(h.task))&&(!
1h.task.endDate||!(0,g.Pl)(h.task.dueDate,h.task.endDate)))if((0,g.gM)(h.task.dueDate,u)&&!this.taskService.isDone(h.task))i.push(h);else if(this.taskService.isDueToday(h.task,this.user))if(null!=s&&s.length>0&&(!this.taskService.isDaily(h.task)&&this.user.showNonDailyOnTop||this.taskService.isOneTimeTask(h.task)&&this.user.showOneTimeOnTop)){let v=!1;for(let p=0;p<s.length;p++)if(s[p].task.priority<h.task.priority||this.taskService.isDaily(s[p].task)){s.splice(p,0,h),v=!0;break}v||s.push(h)}else s.push(h);else(!this.taskService.isDaily(h.task)||this.taskService.isDaily(h.task)&&!(0,g.Ft)(h.task.dueDate,u)&&this.user.showFutureDailyTasks)&&(!this.taskService.isDone(h.task)||this.user.showFinishedTasks)&&((0,g.Ft)(h.task.dueDate,(0,j.A)(u,1))?a.push(h):(0,g.Pl)(h.task.dueDate,(0,j.A)(u,1))&&o.push(h))}else this.taskService.isDone(h.task)||c.push(h)});let d=[];if(i.length>0&&(d.push({title:this.helper.getString("s_overdue"),dueType:T.LB.overdue}),d=I.A(d,i)),s.length>0&&(d.push({title:this.helper.getString("s_dueToday"),dueType:T.LB.dueToday}),d=I.A(d,s)),a.length>0&&(d.push({title:this.helper.getString("s_dueTomorrow"),dueType:T.LB.dueTomorrow}),d=I.A(d,a)),o.length>0){let h=new Date;o.forEach(v=>{if(!(0,g.Ft)(h,v.task.dueDate)){h=v.task.dueDate;let p=this.helper.getLocaleDateString(h);d.push({title:p,dueType:T.LB.dueLater})}d.push(v)})}return c.length>0&&(d.push({title:this.helper.getString("s_noDueDate"),dueType:T.LB.noDueDate}),d=I.A(d,c)),d}return[]}ionViewDidLeave(){this.admobService.removeBannerAds(),this.userSubscription&&this.userSubscription.unsubscribe(),this.listSubscription&&this.listSubscription.unsubscribe(),this.offlineSubscription&&this.offlineSubscription.unsubscribe()}actionSheetRefreshButton(){return{text:this.helper.getString("s_refresh"),icon:"refresh",handler:()=>{this.loadList()}}}presentActionSheet(){var e=this;return(0,P.A)(function*(){e.admobService.hideBannerAds(),(0,b.z)([e.showInactiveTasks$,e.compactView$]).pipe((0,F.s)(1)).subscribe(function(){var i=(0,P.A)(function*([s,a]){let o=[e.actionSheetRefreshButton(),{text:e.helper.getString("s_search"),icon:"search",handler:()=>{e.helper.showModal(ot,{user:e.user},null,null)}},{text:e.helper.getStringCombined(["s_edit","s_vacation"]),icon:"airplane",handler:()=>{e.helper.showModal(K,{user:e.user},null,()=>{e.user.vacationStartDate&&e.user.vacationEndDate&&e.listItems$.pipe((0,F.s)(1)).subscribe(c=>{c.forEach(u=>{if(u.task&&u.task.dueDate&&!(0,g.gM)(u.task.dueDate,e.user.vacationStartDate)&&!(0,g.Pl)(u.task.dueDate,e.user.vacationEndDate)){let d=e.taskService.calculateDueDateForVacation(u.task,e.user);e.store.dispatch(y.lC({user:e.user,listId:u.listId,task:{...u.task,dueDate:d}}))}})})})}},{text:e.helper.getStringCombined([s?"s_hide":"s_show","s_inactiveTasks"]),icon:s?"eye-off":"eye",handler:()=>{e.showInactiveTasks$.next(!s)}},{text:e.helper.getStringCombined([a?"s_normalView":"s_compactView"]),icon:"reorder-four-outline",handler:()=>{e.compactView$.next(!a)}},{text:e.helper.getString("s_export"),icon:"cloud-download",handler:()=>{e.export()}}];e.actionSheetController.create({header:e.helper.getString("s_moreOptions"),buttons:o}).then(c=>{c.onDidDismiss().then(()=>{e.admobService.resumeBannerAds()}),c.present()})});return function(s){return i.apply(this,arguments)}}())})()}export(){(0,b.z)([this.store.select(D.OM).pipe((0,S.T)(e=>e.map(i=>i.header))),this.listItems$]).pipe((0,F.s)(1)).subscribe(([e,i])=>{e&&e.length>1?this.helper.showMultipleSelectDialog(this.helper.getString("s_selectList"),"",e,this.helper.getString("s_ok"),s=>{this.exportItems(i.filter(a=>a.title||s.find(o=>o==a.listId)))}):this.exportItems(i)})}exportItems(e){if(e){let i="";const s=this.helper.getString("s_priority"),a=this.helper.getString("s_recurrence"),o=this.helper.getString("s_completion");for(let c=0;c<e.length;c++){let u=e[c];u.title?c!=e.length-1&&!e[c+1].title&&(i+=`\n[== ${u.title} ==]\n`):i+=this.taskService.getStringForExport(u.task,s,a,o,null)}this.shareService.share(this.helper.getStringCombined(["s_task","s_list"]),i)}}editTasks(){this.router.navigate(["task-list"])}
1addTask(){var e=this;return(0,P.A)(function*(){let i=e.user&&e.user.myLists&&e.user.myLists.filter(s=>s.showOnHomePage||null==s.showOnHomePage).map(s=>({id:s.id,name:s.listNameWithCreatedByUserName||s.name}));if(null!=i&&i.length>0)if(i.length>1){const s=yield e.helper.getPreference(k.H.KEY_DEFAULT_LIST);e.helper.showSingleSelectDialog(e.helper.getString("s_selectList"),"",i,e.helper.getString("s_ok"),a=>{a&&e.addTaskToList(a)},e.helper.getString("s_cancel"),null,s)}else 1==i.length&&e.addTaskToList(i[0].id);else e.helper.showConfirm("g_noList",()=>{e.helper.showModal(Z.p,{user:e.user,isNew:!0,isMyList:!0},null,()=>{})})})()}addTaskToList(e){this.helper.setPreference(k.H.KEY_DEFAULT_LIST,e),this.helper.showModal(z.o,{user:this.user,listId:e,task:{name:""},isNew:!0})}loadList(){this.user.myLists&&this.store.dispatch(y.Lz({myLists:this.user.myLists.filter(e=>e.showOnHomePage||null==e.showOnHomePage)}))}trackByName(e,i){return i.name}getBarBackColor(){return this.user.colorBarBack||R._N}getBarTextColor(){return this.user.colorBarText||R.gA}static#t=this.\u0275fac=function(i){return new(i||n)(t.rXU(E.Ix),t.rXU($.il),t.rXU(k.H),t.rXU(lt.a),t.rXU(ct.T),t.rXU(ht.v),t.rXU(ut.R),t.rXU(dt.u),t.rXU(l.GD),t.rXU(mt.g),t.rXU(gt.b),t.rXU(pt.D))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["app-home"]],decls:23,vars:11,consts:[["color","primary"],["slot","start",1,"header-menu"],[4,"ngIf"],[1,"page-title"],["slot","end"],[3,"click"],["slot","icon-only","name","create"],["color","secondary","class","badge-other",4,"ngIf"],["slot","icon-only","name","add"],[3,"click","disabled"],["slot","icon-only","name","ellipsis-vertical"],["color","danger",1,"badge-home"],["color","secondary",1,"badge-other"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","tag",3,"--background",4,"ngIf"],[3,"listItem","user","odd","showListName","compactView",4,"ngIf"],[1,"tag"],[1,"ion-text-center","tag-label"],[3,"listItem","user","showListName","compactView"]],template:function(i,s){1&i&&(t.j41(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1),t.nrm(3,"ion-menu-button"),t.DNE(4,kt,3,1,"ng-container",2),t.nI1(5,"async"),t.k0s(),t.j41(6,"ion-title")(7,"div",3),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"ion-buttons",4)(11,"ion-button",5),t.bIt("click",function(){return s.editTasks()}),t.nrm(12,"ion-icon",6),t.DNE(13,Dt,2,1,"ion-badge",7),t.k0s(),t.j41(14,"ion-button",5),t.bIt("click",function(){return s.addTask()}),t.nrm(15,"ion-icon",8),t.k0s(),t.j41(16,"ion-button",9),t.bIt("click",function(){return s.presentActionSheet()}),t.nrm(17,"ion-icon",10),t.k0s()()()(),t.j41(18,"ion-content"),t.nrm(19,"network-status")(20,"loading-status"),t.DNE(21,It,2,2,"ion-list",2),t.nI1(22,"async"),t.k0s()),2&i&&(t.R7$(4),t.Y8G("ngIf",t.bMT(5,5,s.auth.pendingRequestsCount$())),t.R7$(4),t.JRh(t.bMT(9,7,"s_home")),t.R7$(5),t.Y8G("ngIf",s.finishedOnetimeTaskCount>15),t.R7$(3),t.Y8G("disabled",s.isOffline),t.R7$(5),t.Y8G("ngIf",t.bMT(22,9,s.listItems$)))},dependencies:[f.Sq,f.bT,l.In,l.Jm,l.QW,l.W9,l.eU,l.iq,l.uz,l.he,l.nf,l.MC,l.BC,l.ai,x.B,vt.M,ft.c,f.Jj,C.D9],styles:[".tag[_ngcontent-%COMP%]{height:30px}.tag-label[_ngcontent-%COMP%]{margin-top:-7px;font-size:small;font-weight:700}.badge-other[_ngcontent-%COMP%]{position:absolute;top:-7px;left:10px;font-size:.6em}"]})}return n})()}];let Ft=(()=>{class n{static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[E.iI.forChild(bt),E.iI]})}return n})();var Ct=r(3887);let Bt=(()=>{class n{static#t=this.\u0275fac=function(i){return new(i||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[f.MD,B.YN,B.X1,l.bv,Ct.G,C.h,Ft]})}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.