PageSourceSearch

https://dstanza.transiti.net/2631.87bef09d3b8e5194.js

js transiti.net collected 2026-10-06 05:26:43 UTC 4,802 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebapp=self.webpackChunkwebapp||[]).push([[2631],{2631:(U,a,l)=>{l.r(a),l.d(a,{ProfileModule:()=>z});var u=l(9808),f=l(218),o=l(3075),m=l(1158),p=l(2654),c=l(8460),g=l(846),e=l(5e3),v=l(7576),h=l(1048),b=l(4445),C=l(5525),Z=l(9589),S=l(7817),P=l(9362);const y=function(){return{standalone:!0}},N=[{path:"",component:(()=>{class r{constructor(s,i,n,d,I){this.userService=s,this.timeZoneService=i,this.patientService=n,this.overlayService=d,this.fb=I,this.subscription=new p.w,this.USER_GENDERS_OPTIONS=g.vH,this.form=this.fb.group({first_name:["",o.kI.required],last_name:["",o.kI.required],gender:["",o.kI.required],workplace:["",o.kI.required],workcountry:["",o.kI.required],birthdate:["",o.kI.required],profession:["",o.kI.required],email:["",o.kI.required],password:["",o.kI.required],time_zone:["",o.kI.required]})}ngOnInit(){this.user=this.userService.user,this.form.patchValue(this.user),this.timezones$=this.timeZoneService.list(),Object.keys(this.form.controls).map(s=>{var i;this.subscription.add(null===(i=this.form.get(s))||void 0===i?void 0:i.valueChanges.subscribe(n=>this.onFieldChange(s,n)))})}ngOnDestroy(){this.subscription.unsubscribe()}openBillingAddressModal(){this.overlayService.open(c.V).afterClosed$.subscribe(()=>{this.user=this.userService.user})}upload(s){this.userService.uploadAvatar(s.item(0)).subscribe(i=>{this.user=i})}onFieldChange(s,i){s&&i&&("time_zone"===s&&m.tz.setDefault(i),this.patientService.update(this.user.id,{[s]:i}).subscribe())}}return r.\u0275fac=function(s){return new(s||r)(e.Y36(v.K),e.Y36(h.F),e.Y36(b.e),e.Y36(C.F),e.Y36(o.qu))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-profile"]],decls:30,vars:16,consts:[[3,"formGroup"],["label","Dati personali"],["label","Nome","formControlName","first_name"],["label","Cognome","formControlName","last_name"],["label","Data di nascita","formControlName","birthdate","type","date"],["label","Genere","formControlName","gender","type","select",3,"options"],["label","Citt\xe0 di lavoro","formControlName","workplace"],["label","Stato","formControlName","workcountry"],["label","Professione","formControlName","profession"],["label","Foto","type","picture",3,"ngModel","ngModelOptions","ngModelChange","upload"],["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"],["label","Nome"],["label","Cognome"],["label","Indirizzo"],["label","Citt\xe0"],["label","CAP"],["label","Nazione"],["label","Partita IVA/Codice fiscale"]],template:function(s,i){1&s&&(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)(5,"ui-field-edit",5)(6,"ui-field-edit",6)(7,"ui-field-edit",7)(8,"ui-field-edit",8),e.TgZ(9,"ui-field-edit",9),e.NdJ("ngModelChange",function(d){return i.user.avatar=d})("upload",function(d){return i.upload(d)}),e.qZA()(),e.TgZ(10,"ui-fieldset",10),e._UZ(11,"ui-field-edit",11)(12,"ui-field-edit",12)(13,"ui-field-edit",13),e.ALo(14,"async"),e.qZA()(),e.TgZ(15,"ui-fieldset",14),e.NdJ("clicked",function(){return i.openBillingAddressModal()}),e.TgZ(16,"ui-field",15),e._uU(17),e.qZA(),e.TgZ(18,"ui-field",16),e._uU(19),e.qZA(),e.TgZ(20,"ui-field",17),e._uU(21),e.qZA(),e.TgZ(22,"ui-field",18),e._uU(23),e.qZA(),e.TgZ(24,"ui-field",19),e._uU(25),e.qZA(),e.TgZ(26,"ui-field",20),e._uU(27),e.qZA(),e.TgZ(28,"ui-field",21),e._uU(29),e.qZA()()),2&s&&(e.Q6J("formGroup",i.form),e.xp6(5),e.Q6J("options",i.USER_GENDERS_OPTIONS),e.xp6(4),e.Q6J("ngModel",i.user.avatar)("ngModelOptions",e.DdM(15,y)),e.xp6(4),e.Q6J("options",e.lcZ(14,13,i.timezones$))("enableSearch",!0),e.xp6(4),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))},directives:[o._Y,o.JL,o.sg,Z.e,S.B,o.JJ,o.u,o.On,P.C],pipes:[u.Ov],styles:[""]}),r})()}];let A=(()=>{class r{}return r.\u0275fac=function(s){return new(s||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[f.Bz.forChild(N)],f.Bz]}),r})();var M=l(2455),O=l(180),T=l(4980);let z=(()=>{class r{}return r.\u0275fac=function(s){return new(s||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[[u.ez,A,o.UX,M.L,O.f,T.R,o.u5]]}),r})()}}]);

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.