PageSourceSearch

https://awu.aisge.es/chunk-EKQSOOXF.js

js aisge.es collected 2026-10-02 04:17:04 UTC 2,334 bytes, 1 lines download raw bytes

1import{Ba as N,Ca as P,ka as E,l as D}from"./chunk-2K262DRJ.js";import{a as v,p as x}from"./chunk-FCUVCWRQ.js";import{D as A,F as g,Fa as c,Fc as w,Hc as L,Ja as I,Jb as b,K as y,Ka as F,Mc as R,P as T,S as p,W as a,X as j,Z as s,_ as k,a as l,b as u,ha as M,m as d,pa as C,w as S}from"./chunk-4STNL6AT.js";var n=(()=>{class t extends N{validateToken(e){let i=`${this.API_URL}user/register/validatetoken`;return this.http.post(i,{Token:e}).pipe(S(()=>!0))}static{this.\u0275fac=(()=>{let e;return function(o){return(e||(e=C(t)))(o||t)}})()}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var U={activate:!1},m=(()=>{class t extends D{constructor(e,i,o){super(U),this.activateService=e,this.confirmModalService=i,this.coreStore=o,this.getActivateState$=this.select(r=>r.activate),this.validateToken=this.effect(r=>r.pipe(p(()=>{this.logEffects("Validate Token"),this.coreStore.setShowLoader(!0)}),T(f=>this.activateService.validateToken(f).pipe(p(()=>{this.confirmModalService.showConfirmFromTranslation("successActivate",!1),this.setActivate(!0)}),g(()=>(this.confirmModalService.showConfirmFromTranslation("errorActivate",!1,!1,!1,"error"),this.setActivate(!1),d)),y(()=>this.coreStore.setShowLoader(!1)))))),this.setActivate=this.updaterLog("Set Activate",(r,f)=>u(l({},r),{activate:f}))}static{this.\u0275fac=function(i){return new(i||t)(s(n),s(E),s(P))}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();var B=(()=>{class t{constructor(e,i,o){this.route=e,this.router=i,this.activateStore=o,this.destroyRef=k(M)}ngOnInit(){this.route.queryParams.pipe(v(this.destroyRef)).subscribe(e=>{this.temporalToken=e.token||"",this.activateStore.validateToken(this.temporalToken)}),this.activateStore.getActivateState$.pipe(v(this.destroyRef),A(Boolean)).subscribe(()=>{this.onNavigateToLogin()})}onNavigateToLogin(){this.router.navigate([`${x.Login}`])}static{this.\u0275fac=function(i){return new(i||t)(c(w),c(L),c(m))}}static{this.\u0275cmp=I({type:t,selectors:[["app-activate"]],features:[b([n,m])],decls:0,vars:0,template:function(i,o){},encapsulation:2})}}return t})();var at=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=j({imports:[R.forChild([{path:"",component:B}])]})}}return t})();export{at as ActivateModule};

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.