1import{a as F}from"./chunk-2ITUBFZD.js";import"./chunk-KDXQMMPC.js";import{a as d}from"./chunk-Q52UTOTW.js";import{b as G}from"./chunk-TLLF4TMX.js";import"./chunk-36GW2Y7Y.js";import"./chunk-2GB5TJST.js";import"./chunk-LPBMM3KS.js";import{Cb as D,E as V,F as b,J as R,z as M}from"./chunk-3KCLCUK3.js";import"./chunk-CZUDVYPH.js";import{Cc as v,Eb as s,Ec as O,Je as C,Qb as m,Yc as N,ac as n,bc as o,ca as E,cc as A,dc as T,ec as h,hb as _,ib as c,lc as l,le as P,mc as S,nc as L,pc as I,xb as u,yb as f}from"./chunk-2O3QPDX2.js";import"./chunk-R57JEPK5.js";import"./chunk-CJI2FLHI.js";function B(e,p){if(e&1&&(n(0,"div",13)(1,"h2",14),l(2,2),o(),T(3),l(4,3),h(),o()),e&2){let i=I(2);_(4),S(i.channel.name),L(4);}}function y(e,p){e&1&&(n(0,"div",15)(1,"h1"),O(2,"Ups"),o(),n(3,"h3",16),l(4,4),o()());}function H(e,p){if(e&1&&(n(0,"div",7),s(1,B,5,1,"div",8)(2,y,5,0,"div",9),n(3,"a",10),A(4,"i",11),n(5,"span",12),l(6,1),o()()()),e&2){let i=I();_(),m("ngIf",i.validated),_(),m("ngIf",!i.validated);}}function U(e,p){e&1&&A(0,"ush-loading-indicator");}var k=(()=>{class e{constructor(i,t,a,r){this.route=i,this.authService=t,this.channelService=a,this.pageLoader=r,this.uuid="",this.processing=!0;}ngOnInit(){this.route.params.subscribe(i=>{this.uuid=i.uuid,this.validate(),this.pageLoader.hidePageLoader();}),this.channel=this.channelService.channel;}validate(){this.authService.putEmailValidation(this.uuid).subscribe(i=>{this.processing=!1,this.validated=!0;},i=>{this.processing=!1;});}static{this.ɵfac=function(t){return new(t||e)(c(M),c(G),c(D),c(F));};}static{this.ɵcmp=u({type:e,selectors:[["app-validation-page"]],standalone:!1,decls:4,vars:2,consts:()=>{let i;i="Tilbage til hjemmet";let t;t="Din e -mail -adresse er nu bekr\xE6ftet.";let a;a="Tak for at blive medlem af vores frigivende samfund";let r;return r="Noget gik galt, pr\xF8v igen senere.",[["loading",""],i,t,a,r,[1,"validation-page","page-content"],["class","validation-page-container",4,"ngIf","ngIfElse"],[1,"validation-page-container"],["class","validation-message",4,"ngIf"],["class","validation-error-container",4,"ngIf"],["routerLink","/home","routerLinkActive","router-link-active",1,"back-to-home-container"],[1,"pi","pi-arrow-left"],["data-translate","public.filters.control.backHome"],[1,"validation-message"],["data-translate","public.commons.okValidation"],[1,"validation-error-container"],["data-translate","public.commons.somethingWrong"]];},template:function(t,a){if(t&1&&(n(0,"div",5),s(1,H,7,2,"div",6),o(),s(2,U,1,0,"ng-template",null,0,N)),t&2){let r=v(3);_(),m("ngIf",!a.processing)("ngIfElse",r);}},dependencies:[P,V,b,d],styles:[".validation-page[_ngcontent-%COMP%]{height:100vh;display:flex;align-items:center;justify-content:center}.validation-page-container[_ngcontent-%COMP%]{text-align:center}.validation-message[_ngcontent-%COMP%]{margin-bottom:30px}.validation-message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:0}.back-to-home-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:.5em;font-weight:700}.back-to-home-container[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{border-bottom:2px solid}"]});}}return e;})();var $=[{path:":uuid",component:k}];var se=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵmod=f({type:e});}static{this.ɵinj=E({imports:[C,R.forChild($),d]});}}return e;})();export{se as SharedFeatureValidationPageModule};/**i18n:fc4da28cb31e11f192f9eb27519b51ec463b2a43a3e117a1ce1da21f8ca0dd48*/
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.