1(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[5071],{44238:(f,s,t)=>{"use strict";t.r(s),t.d(s,{ExternalLoginPageComponent:()=>M});var c=t(24702),g=t(92849),u=t(50590),o=t(18505),v=t(54004),e=t(94650),d=t(34793),h=t(36895),x=t(38605),P=t(79741),C=t(89383);function y(i,O){if(1&i&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"ds-external-log-in",3),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementContainerEnd()),2&i){const a=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("registrationData",e.\u0275\u0275pipeBind1(2,2,a.registrationData$))("token",a.token)}}function D(i,O){if(1&i&&(e.\u0275\u0275element(0,"ds-alert",4),e.\u0275\u0275pipe(1,"translate")),2&i){const a=e.\u0275\u0275nextContext();e.\u0275\u0275property("type",a.AlertTypeEnum.Error)("content",e.\u0275\u0275pipeBind1(1,2,"external-login.error.notification"))}}let M=(()=>{class i{constructor(a){this.arouter=a,this.AlertTypeEnum=g.N,this.hasErrors=!1,this.token=this.arouter.snapshot.params.token,this.hasErrors=(0,c.xI)(this.arouter.snapshot.params.token)}ngOnInit(){this.registrationData$=this.arouter.data.pipe((0,u.P)(),(0,o.b)(a=>this.hasErrors=a.registrationData.hasFailed),(0,v.U)(a=>a.registrationData.payload))}static#t=this.\u0275fac=function(m){return new(m||i)(e.\u0275\u0275directiveInject(d.gz))};static#e=this.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["ng-component"]],decls:4,vars:4,consts:[[1,"container"],[4,"ngIf"],[3,"type","content",4,"ngIf"],[3,"registrationData","token"],[3,"type","content"]],template:function(m,E){1&m&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275template(1,y,3,4,"ng-container",1),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275template(3,D,2,4,"ds-alert",2),e.\u0275\u0275elementEnd()),2&m&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(2,2,E.registrationData$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",E.hasErrors))},dependencies:[h.O5,x.w,P.h,h.Ov,C.X$]})}return i})()},85071:(f,s,t)=>{"use strict";t.r(s),t.d(s,{ExternalLoginPageModule:()=>L});var c=t(36895),g=t(34793),u=t(25330),o=t(94650);function v(n,B){}const e=["*"];let d=(()=>{class n extends u.F{getComponentName(){return"ExternalLoginPageComponent"}importThemedComponent(r){return t(53629)(`./${r}/app/external-login-page/external-login-page.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,44238))}static#t=this.\u0275fac=function(){let r;return function(p){return(r||(r=o.\u0275\u0275getInheritedFactory(n)))(p||n)}}();static#e=this.\u0275cmp=o.\u0275\u0275defineComponent({type:n,selectors:[["ds-themed-external-login-page"]],features:[o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:e,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(l,p){1&l&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275template(0,v,0,0,"ng-template",null,0,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275elementStart(2,"div",null,1),o.\u0275\u0275projection(4),o.\u0275\u0275elementEnd())},encapsulation:2})}return n})();var h=t(11777),x=t(54004),P=t(39646),C=t(93459),y=t(68285),D=t(24702),M=t(30449);const O=[{path:"",pathMatch:"full",component:d,canActivate:[(()=>{class n{constructor(r,l){this.router=r,this.epersonRegistrationService=l}canActivate(r,l){return r.params.token?this.epersonRegistrationService.searchRegistrationByToken(r.params.token).pipe((0,y.hC)(),(0,x.U)(p=>{if(p.hasSucceeded&&(0,D.Uh)(p.payload)&&!p.payload.registrationType.includes(M.A.Validation))return!0;this.router.navigate(["/404"])})):(this.router.navigate(["/404"]),(0,P.of)(!1))}static#t=this.\u0275fac=function(l){return new(l||n)(o.\u0275\u0275inject(g.F0),o.\u0275\u0275inject(C.m))};static#e=this.\u0275prov=o.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()],resolve:{registrationData:h.m}}];let a=(()=>{class n{static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275mod=o.\u0275\u0275defineNgModule({type:n});static#n=this.\u0275inj=o.\u0275\u0275defineInjector({imports:[g.Bz.forChild(O),g.Bz]})}return n})();t(44238);var E=t(34791),T=t(37875);let L=(()=>{class n{static#t=this.\u0275fac=function(l){return new(l||n)};static#e=this.\u0275mod=o.\u0275\u0275defineNgModule({type:n});static#n=this.\u0275inj=o.\u0275\u0275defineInjector({imports:[c.ez,a,E.m,T.K]})}return n})()},53629:f=>{function s(t){return Promise.resolve().then(()=>{var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c})}s.keys=()=>[],s.resolve=s,s.id=53629,f.exports=s}}]);
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.