PageSourceSearch

https://gegenstimme.tv/client/en-US/3798.04064d0652ea4982.js

js gegenstimme.tv collected 2026-09-24 09:24:00 UTC 3,155 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkPeerTube=self.webpackChunkPeerTube||[]).push([[3798],{53798:(C,E,t)=>{t.r(E),t.d(E,{ResetPasswordModule:()=>A});var u=t(84099),f=t(83473),_=t(19952),a=t(70997);const m={VALIDATORS:[a.kI.required],MESSAGES:{required:"Confirmation of the password is required."}};var p=t(85036),e=t(51197),P=t(19868),T=t(35557);const c=[{path:"",component:(()=>{var s;class i extends u.OI{constructor(o,r,S,l,R){super(),this.formReactiveService=o,this.userService=r,this.notifier=S,this.router=l,this.route=R}ngOnInit(){this.buildForm({password:p.$T,"password-confirm":m}),this.userId=this.route.snapshot.queryParams.userId,this.verificationString=this.route.snapshot.queryParams.verificationString,(!this.userId||!this.verificationString)&&(this.notifier.error("Unable to find user id or verification string."),this.router.navigate(["/"]))}resetPassword(){this.userService.resetPassword(this.userId,this.verificationString,this.form.value.password).subscribe({next:()=>{this.notifier.success("Your password has been successfully reset!"),this.router.navigate(["/login"])},error:o=>this.notifier.error(o.message)})}isConfirmedPasswordValid(){const o=this.form.value;return o.password===o["password-confirm"]}}return(s=i).\u0275fac=function(o){return new(o||s)(e.Y36(u.RL),e.Y36(P.KD),e.Y36(P.d4),e.Y36(_.F0),e.Y36(_.gz))},s.\u0275cmp=e.Xpm({type:s,selectors:[["my-login"]],features:[e.qOj],decls:13,vars:4,consts:function(){let n,o,r,S,l,R;return n="Reset my password",o="Password",r="Password",S="Confirm password",l="Confirmed password",R="Reset my password",[[1,"margin-content"],[1,"title-page"],n,["role","form",3,"formGroup","ngSubmit"],[1,"form-group"],["for","password"],o,["formControlName","password","inputId","password","placeholder",r,"autocomplete","new-password",3,"formError"],["for","password-confirm"],S,["formControlName","password-confirm","inputId","password-confirm","placeholder",l,"autocomplete","new-password",3,"formError"],["type","submit","value",R,1,"peertube-button","orange-button",3,"disabled"]]},template:function(o,r){1&o&&(e.TgZ(0,"div",0)(1,"h1",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"form",3),e.NdJ("ngSubmit",function(){return r.resetPassword()}),e.TgZ(4,"div",4)(5,"label",5),e.SDv(6,6),e.qZA(),e._UZ(7,"my-input-text",7),e.qZA(),e.TgZ(8,"div",4)(9,"label",8),e.SDv(10,9),e.qZA(),e._UZ(11,"my-input-text",10),e.qZA(),e._UZ(12,"input",11),e.qZA()()),2&o&&(e.xp6(3),e.Q6J("formGroup",r.form),e.xp6(4),e.Q6J("formError",r.formErrors.password),e.xp6(4),e.Q6J("formError",r.formErrors["password-confirm"]),e.xp6(1),e.Q6J("disabled",!r.form.valid||!r.isConfirmedPasswordValid()))},dependencies:[a._Y,a.JJ,a.JL,a.sg,a.u,T.m],styles:["my-input-text[_ngcontent-%COMP%]{max-width:340px;display:block}"]}),i})(),data:{meta:{title:"Reset password"}}}];let g=(()=>{var s;class i{}return(s=i).\u0275fac=function(o){return new(o||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[_.Bz.forChild(c),_.Bz]}),i})(),A=(()=>{var s;class i{}return(s=i).\u0275fac=function(o){return new(o||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[g,f.nC,u.hA]}),i})()}}]);
2//# sourceMappingURL=3798.04064d0652ea4982.js.map

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.