PageSourceSearch

https://dstanza.transiti.net/4639.f9a7ab0935b52c4d.js

js transiti.net collected 2026-10-06 05:26:56 UTC 5,555 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebapp=self.webpackChunkwebapp||[]).push([[4639],{4639:(E,d,t)=>{t.r(d),t.d(d,{ProfileModule:()=>J});var a=t(9808),f=t(218),n=t(3075),c=t(2654),p=t(1158),m=t(846),g=t(8460),e=t(5e3),b=t(7576),v=t(7721),h=t(1048),C=t(5525),Z=t(9589),x=t(7817),T=t(9362);function A(l,s){if(1&l&&(e.TgZ(0,"ui-field",13),e._uU(1),e.qZA()),2&l){const i=e.oxw();e.xp6(1),e.Oqu(null!=i.user&&i.user.supervisor?"Supervisor":"Terapeuta")}}function P(l,s){if(1&l&&(e.TgZ(0,"ui-field",14),e._uU(1),e.qZA()),2&l){const i=e.oxw();e.xp6(1),e.Oqu(null==i.user?null:i.user.therapiesEnabledLabels)}}const _=function(){return{standalone:!0}};function M(l,s){if(1&l){const i=e.EpF();e.TgZ(0,"ui-fieldset",15)(1,"ui-field-edit",16),e.NdJ("ngModelChange",function(r){return e.CHM(i),e.oxw().user.avatar=r})("upload",function(r){return e.CHM(i),e.oxw().upload(r)}),e.qZA(),e._UZ(2,"ui-field-edit",17),e.qZA()}if(2&l){const i=e.oxw();e.xp6(1),e.Q6J("ngModel",i.user.avatar)("ngModelOptions",e.DdM(2,_))}}function S(l,s){if(1&l){const i=e.EpF();e.TgZ(0,"ui-fieldset",18),e.NdJ("clicked",function(){return e.CHM(i),e.oxw().openBillingAddressModal()}),e.TgZ(1,"ui-field",19),e._uU(2),e.qZA(),e.TgZ(3,"ui-field",20),e._uU(4),e.qZA(),e.TgZ(5,"ui-field",21),e._uU(6),e.qZA(),e.TgZ(7,"ui-field",22),e._uU(8),e.qZA(),e.TgZ(9,"ui-field",23),e._uU(10),e.qZA(),e.TgZ(11,"ui-field",24),e._uU(12),e.qZA(),e.TgZ(13,"ui-field",25),e._uU(14),e.qZA()()}if(2&l){const i=e.oxw();e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.first_name),e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.last_name),e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.street),e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.city),e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.postal_code),e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.country),e.xp6(2),e.Oqu(null==i.user.billing_address?null:i.user.billing_address.vat)}}const O=[{path:"",component:(()=>{class l{constructor(i,o,r,u,U){this.userService=i,this.therapistService=o,this.timeZoneService=r,this.overlayService=u,this.fb=U,this.subscription=new c.w,this.USER_GENDERS_OPTIONS=m.vH,this.form=this.fb.group({first_name:["",n.kI.required],last_name:["",n.kI.required],gender:[""],email:["",n.kI.required],password:["************",n.kI.required],description:[""],time_zone:["",n.kI.required]})}ngOnInit(){this.user=this.userService.user,this.form.patchValue(this.user),this.timezones$=this.timeZoneService.list(),Object.keys(this.form.controls).map(i=>{var o;this.subscription.add(null===(o=this.form.get(i))||void 0===o?void 0:o.valueChanges.subscribe(r=>this.onFieldChange(i,r)))})}ngOnDestroy(){this.subscription.unsubscribe()}upload(i){this.userService.uploadAvatar(i.item(0)).subscribe(o=>{this.user=o})}openBillingAddressModal(){this.overlayService.open(g.V).afterClosed$.subscribe(()=>{this.user=this.userService.user})}onFieldChange(i,o){i&&o&&("time_zone"===i&&p.tz.setDefault(o),this.therapistService.update(this.user.id,{[i]:o}).subscribe())}}return l.\u0275fac=function(i){return new(i||l)(e.Y36(b.K),e.Y36(v.Q),e.Y36(h.F),e.Y36(C.F),e.Y36(n.qu))},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-profile"]],decls:14,vars:10,consts:[[3,"formGroup"],["label","Dati anagrafici"],["label","Nome","formControlName","first_name"],["label","Cognome","formControlName","last_name"],["label","Genere","formControlName","gender","type","select",3,"options"],["label","Tipologia utente",4,"ngIf"],["label","Tipologia terapia",4,"ngIf"],["label","Profilo pubblico",4,"ngIf"],["label","Account"],["label","Email","formControlName","email"],["label","Password","formControlName","password","type","password"],["label","Fuso orario","formControlName","time_zone","type","select",3,"options","enableSearch"],["label","Dati di fatturazione","action","Modifica",3,"clicked",4,"ngIf"],["label","Tipologia utente"],["label","Tipologia terapia"],["label","Profilo pubblico"],["label","Foto","type","picture",3,"ngModel","ngModelOptions","ngModelChange","upload"],["label","Descrizione","formControlName","description","type","textarea"],["label","Dati di fatturazione","action","Modifica",3,"clicked"],["label","Nome"],["label","Cognome"],["label","Indirizzo"],["label","Citt\xe0"],["label","CAP"],["label","Nazione"],["label","Partita IVA/Codice fiscale"]],template:function(i,o){1&i&&(e.TgZ(0,"form",0)(1,"ui-fieldset",1),e._UZ(2,"ui-field-edit",2)(3,"ui-field-edit",3)(4,"ui-field-edit",4),e.YNc(5,A,2,1,"ui-field",5),e.YNc(6,P,2,1,"ui-field",6),e.qZA(),e.YNc(7,M,3,3,"ui-fieldset",7),e.TgZ(8,"ui-fieldset",8),e._UZ(9,"ui-field-edit",9)(10,"ui-field-edit",10)(11,"ui-field-edit",11),e.ALo(12,"async"),e.qZA()(),e.YNc(13,S,15,7,"ui-fieldset",12)),2&i&&(e.Q6J("formGroup",o.form),e.xp6(4),e.Q6J("options",o.USER_GENDERS_OPTIONS),e.xp6(1),e.Q6J("ngIf",!o.user.isAdmin),e.xp6(1),e.Q6J("ngIf",!o.user.isAdmin),e.xp6(1),e.Q6J("ngIf",!o.user.isAdmin),e.xp6(4),e.Q6J("options",e.lcZ(12,8,o.timezones$))("enableSearch",!0),e.xp6(2),e.Q6J("ngIf",!o.user.isAdmin))},directives:[n._Y,n.JL,n.sg,Z.e,x.B,n.JJ,n.u,a.O5,T.C,n.On],pipes:[a.Ov],styles:[""]}),l})()}];let N=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[[f.Bz.forChild(O)],f.Bz]}),l})();var I=t(2455),y=t(180),z=t(4980);let J=(()=>{class l{}return l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[[a.ez,N,n.UX,I.L,y.f,z.R,n.u5]]}),l})()}}]);

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.