1"use strict";(self.webpackChunkwebapp=self.webpackChunkwebapp||[]).push([[8032],{2311:(M,p,t)=>{t.d(p,{l:()=>C});var i=t(520),a=t(1086),n=t(4350),h=t(618),v=t(7598),G=t(1307),m=t(2900),f=t(846),g=t(9251);class o extends m._{constructor(y){super(y),this.confirmed="0",this.type=this.public?n.AA.public:n.AA.closed,this.typeLabel=f.ws[this.type],this.confirmed=this.patients.reduce((e,l)=>l.therapyStatus===g.up.active?e+1:e,0)+"/"+this.patients.length}}var s=t(634),r=t(4850),d=t(5e3);let C=(()=>{class u extends v.z{constructor(e){super(e),this.baseUrl=G.N.apiUrl+"/v1/therapies"}create(e){return e.therapy.typology=n.N3.group,super.create(e)}update(e,l){return super.update(e,l)}list(e){return(e=e||{})["q[typology_eq]"]=n.Nn.group,super.list(e)}getLog(e){return this.http.get(this.baseUrl+"/"+e+"/journal/note")}getDiary(e,l){const c=new i.WM({Credential:l});return this.http.get(this.baseUrl+"/"+e+"/journal/diary",{headers:c})}getAppointments(e){const l=e.id;return delete e.id,l?this.http.get(this.baseUrl+"/"+l+"/appointments",{params:e}).pipe((0,r.U)(c=>new h.s(c.data.map(R=>new s.u(R)),c.meta))):(0,a.of)()}mapResource(e){return new o(e)}}return u.\u0275fac=function(e){return new(e||u)(d.LFG(i.eN))},u.\u0275prov=d.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},8032:(M,p,t)=>{t.r(p),t.d(p,{GroupsModule:()=>g});var i=t(9808),a=t(218),n=t(5e3);let h=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(r){return new(r||o)},o.\u0275cmp=n.Xpm({type:o,selectors:[["app-groups"]],decls:1,vars:0,template:function(r,d){1&r&&n._UZ(0,"router-outlet")},directives:[a.lC],styles:[""]}),o})();var v=t(2311);const m=[{path:"",component:h,children:[{path:"",loadChildren:()=>Promise.all([t.e(6729),t.e(9939),t.e(9655),t.e(9856),t.e(9125),t.e(2223),t.e(8592),t.e(4627)]).then(t.bind(t,4627)).then(o=>o.GroupsListModule),data:{title:"Visualizza e gestisci i gruppi e le terapie di gruppo"}},{path:":id",loadChildren:()=>Promise.all([t.e(8592),t.e(7317)]).then(t.bind(t,7317)).then(o=>o.GroupDetailModule),data:{makeHeaderRoot:!0,backLabel:"Torna alla lista gruppi"},resolve:{group:(()=>{class o{constructor(r){this.groupService=r}resolve(r,d){return this.groupService.get(r.paramMap.get("id")||"")}}return o.\u0275fac=function(r){return new(r||o)(n.LFG(v.l))},o.\u0275prov=n.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})()}},{path:"",redirectTo:"",pathMatch:"full"}]}];let f=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[a.Bz.forChild(m)],a.Bz]}),o})(),g=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[i.ez,f]]}),o})()}}]);
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.